Git hooks are useful to identify simple issues before committing the code. However, adding various hooks to each of your projects can be cumbersome.
Ruff is a Python linter written in Rust that can be used to replace various tools like Flake8, isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake.
Ruff also executes 10-100x faster than existing linters.