Skip to content

Commit

Permalink
fix error from merge and add new files to ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
kreuzberger committed Feb 21, 2024
1 parent 9d2d29b commit 87447a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@
PDF_RECTS_EXTRACTION = Path(__file__).parent / "pdf" / "test_rects_extraction.pdf"

# test PDF for color style info
PDF_COLOR_STYLE = os.path.join(
os.path.dirname(__file__), "pdf", "test_words_color_style.pdf"
)
PDF_COLOR_STYLE = Path(__file__).parent / "pdf" / "test_words_color_style.pdf"


@pytest.fixture(scope="session")
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ commands=
poetry install --no-root
poetry run ruff format --check {[testenv]py_folders}
# extend the file list once a file is touched so lint issues get fixed over time
poetry run ruff tests/conftest.py tests/test_rects.py
poetry run ruff tests/conftest.py tests/test_rects.py tests/test_word_colors.py

[testenv:format-check]
envdir = {toxworkdir}/py312
Expand Down

0 comments on commit 87447a4

Please sign in to comment.