fix: PDFMinerToDocument
convert function - adding double new lines between each container_text
so that passages can be detected.
#1051
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run docstrings linting | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
paths: | |
- "**.py" | |
env: | |
HATCH_VERSION: "1.13.0" | |
jobs: | |
docstrings-linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Hatch | |
run: pip install hatch==${{ env.HATCH_VERSION }} | |
- name: ruff docstrings linting | |
run: hatch run ruff check haystack |