3 ms·
Same, but in CI I generally lint with pre-commit run --all-files because it can be much tricker or more error-prone to only lint the correct diff when you
by claytonjy 4y ago
Same, but in CI I generally lint with
pre-commit run --all-files
because it can be much tricker or more error-prone to only lint the correct diff when you're dealing with MRs. I definitely notice the speed hit there, though it usually pales in comparison to running pytest.
Honestly mypy is the slowest one now, which ruff doesn't intend to replace.