This adds ruff for Python code linting in pre-commits.
This is performed via flake8 --select=F, skipping all other stylistic checks of flake8 (which we perform with other tools such as black and isort). Also, flake8 supports ... # noqa annotations to silence warnings from pyflakes.
This adds ruff for Python code linting in pre-commits.
This is performed viaflake8 --select=F
, skipping all other stylistic checks of flake8 (which we perform with other tools such as black and isort). Also,flake8
supports... # noqa
annotations to silence warnings frompyflakes
.