Ruff is a substitute for flake8, which has recently released their first stable release. Nevertheless, they are becoming increasingly popular in the last few years because of their support for auto-fixing flake errors, and much simpler configuration and larger rule set (see https://docs.astral.sh/ruff/rules/)
The syntax is ruff . --fix to check and auto fix errors.
I replaced flake8 with ruff in pre commit hook and added it as a dev dependency
Ruff is a substitute for flake8, which has recently released their first stable release. Nevertheless, they are becoming increasingly popular in the last few years because of their support for auto-fixing flake errors, and much simpler configuration and larger rule set (see https://docs.astral.sh/ruff/rules/)
The syntax is
ruff . --fix
to check and auto fix errors.I replaced flake8 with ruff in pre commit hook and added it as a dev dependency