2 ms·
Just because you don't have the issue doesn't mean it's non-existent. We went from 8ish seconds with flake8 to tens of milliseconds with ruff. Ruff can just run
by ikornaselur 3y ago
Just because you don't have the issue doesn't mean it's non-existent. We went from 8ish seconds with flake8 to tens of milliseconds with ruff. Ruff can just run as a pre-commit hook because it's so fast.
I for one have stopped using flake8 in favour of ruff because of both speed and the huge amount of supported rules in ruff already.
- hkt 3y ago> Just because you don't have the issue doesn't mean it's non-existent. Indeed! Knowing this is why I asked! Having only worked on small projects I've never had an issue with flake8 as a precommit hook, but what you describe makes it sound compelling.