Open
Description
As suggested by @twalen, we should try to lint codebase using ruff.
Running it right now yields:
- 1019 errors with default settings
- 25791 errors when all checks are enabled (probably not all of them should be enabled, like "S101 Use of
assert
detected", or enabled as of now, like "PTH123open()
should be replaced byPath.open()
)- ~25650 errors after running
black .
andruff . --fix
- 2276 errors with
ignore = ["S101", "PTH", "N806", "ANN", "D"]
andtest*.py
excluded
- ~25650 errors after running
There tend to be a few warnings with hundreds or thousands of occurences, and many warnings with a few each. It should be discussed if it is worth it to go through all of them.
Metadata
Metadata
Assignees
Labels
No labels