Code style changes #120
Annotations
10 errors
Ruff (E402):
main.py#L38
main.py:38:1: E402 Module level import not at top of file
|
Ruff (C419):
test/cozy/media/test_importer.py#L36
test/cozy/media/test_importer.py:36:16: C419 Unnecessary list comprehension
|
Ruff (C419):
test/cozy/media/test_importer.py#L63
test/cozy/media/test_importer.py:63:16: C419 Unnecessary list comprehension
|
Ruff (F841):
test/cozy/media/test_importer.py#L79
test/cozy/media/test_importer.py:79:5: F841 Local variable `example_chapters` is assigned to but never used
|
Ruff (F841):
test/cozy/media/test_importer.py#L84
test/cozy/media/test_importer.py:84:5: F841 Local variable `importer` is assigned to but never used
|
Ruff (C419):
test/cozy/media/test_importer.py#L203
test/cozy/media/test_importer.py:203:16: C419 Unnecessary list comprehension
|
Ruff (E711):
test/cozy/model/test_book.py#L119
test/cozy/model/test_book.py:119:26: E711 Comparison to `None` should be `cond is None`
|
Ruff (E712):
test/cozy/model/test_book.py#L173
test/cozy/model/test_book.py:173:12: E712 Avoid equality comparisons to `False`; use `if not book.offline:` for false checks
|
Ruff (E712):
test/cozy/model/test_book.py#L191
test/cozy/model/test_book.py:191:12: E712 Avoid equality comparisons to `False`; use `if not book.downloaded:` for false checks
|
Ruff (C419):
test/cozy/model/test_book.py#L221
test/cozy/model/test_book.py:221:16: C419 Unnecessary list comprehension
|