The problem
Linting speed can be improved by using only Ruff.
Requested Solution
I propose replacing flake8 with Ruff, which we are already using in the project. Ruff's linter is much faster and implements every rule in flake8.
Alternatives
Other popular python linters, but Ruff seems to be the fastest and its already being used.