Use Ruff
Apply to all files and add as pre-commit hook: https://github.com/astral-sh/ruff
Might be able to replace a bunch of other linters.
Apply to all files and add as pre-commit hook: https://github.com/astral-sh/ruff
Might be able to replace a bunch of other linters.