ci: switch linter & formatter to ruff #3
Annotations
10 errors
Run y-young/ruff-action@v1:
tools/database/helper.py#L1
tools/database/helper.py:1:1: INP001 File `tools/database/helper.py` is part of an implicit namespace package. Add an `__init__.py`.
|
Run y-young/ruff-action@v1:
tools/database/helper.py#L21
tools/database/helper.py:21:86: COM812 Trailing comma missing
|
Run y-young/ruff-action@v1:
tools/database/helper.py#L54
tools/database/helper.py:54:12: PLW0603 Using the global statement to update `file_cnt` is discouraged
|
Run y-young/ruff-action@v1:
tools/database/helper.py#L62
tools/database/helper.py:62:13: B007 Loop control variable `source` not used within loop body
|
Run y-young/ruff-action@v1:
tools/database/helper.py#L133
tools/database/helper.py:133:12: PLW0603 Using the global statement to update `artworks` is discouraged
|
Run y-young/ruff-action@v1:
tools/database/helper.py#L133
tools/database/helper.py:133:22: PLW0603 Using the global statement to update `success` is discouraged
|
Run y-young/ruff-action@v1:
tools/database/helper.py#L133
tools/database/helper.py:133:31: PLW0603 Using the global statement to update `directory` is discouraged
|
Run y-young/ruff-action@v1:
tools/database/helper.py#L137
tools/database/helper.py:137:5: T201 `print` found
|
Run y-young/ruff-action@v1:
tools/database/helper.py#L138
tools/database/helper.py:138:5: T201 `print` found
|
Run y-young/ruff-action@v1:
tools/database/helper.py#L146
tools/database/helper.py:146:13: PLW2901 `for` loop variable `source` overwritten by assignment target
|
Loading