ruff: enable and fix C4 ruleset

This commit is contained in:
Dima Gerasimov 2024-08-27 22:50:37 +01:00
parent dee0b128ca
commit 2849870773
19 changed files with 48 additions and 38 deletions

View file

@ -62,7 +62,7 @@ def test_get_annots() -> None:
"""
annotations = get_annots(testdata() / 'pdfs' / 'Information Architecture for the World Wide Web.pdf')
assert len(annotations) == 3
assert set([a.highlight for a in annotations]) == EXPECTED_HIGHLIGHTS
assert {a.highlight for a in annotations} == EXPECTED_HIGHLIGHTS
def test_annotated_pdfs_with_filelist() -> None: