Code style changes #120
Annotations
10 errors
Run chartboost/ruff-action@v1:
main.py#L38
main.py:38:1: E402 Module level import not at top of file
|
Run chartboost/ruff-action@v1:
test/cozy/media/test_importer.py#L36
test/cozy/media/test_importer.py:36:16: C419 Unnecessary list comprehension
|
Run chartboost/ruff-action@v1:
test/cozy/media/test_importer.py#L63
test/cozy/media/test_importer.py:63:16: C419 Unnecessary list comprehension
|
Run chartboost/ruff-action@v1:
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
|
Run chartboost/ruff-action@v1:
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
|
Run chartboost/ruff-action@v1:
test/cozy/media/test_importer.py#L203
test/cozy/media/test_importer.py:203:16: C419 Unnecessary list comprehension
|
Run chartboost/ruff-action@v1:
test/cozy/model/test_book.py#L119
test/cozy/model/test_book.py:119:26: E711 Comparison to `None` should be `cond is None`
|
Run chartboost/ruff-action@v1:
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
|
Run chartboost/ruff-action@v1:
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
|
Run chartboost/ruff-action@v1:
test/cozy/model/test_book.py#L221
test/cozy/model/test_book.py:221:16: C419 Unnecessary list comprehension
|
Loading