A few opportunities to improve the pre-commit hooks: - use pyproject.toml to configure as many hooks as possible instead of relying on tool-specific config files (like `.codespellrc`) - use ruff format instead of black. it's much faster. - use ruff instead of flake8. ruff is faster. - Apply safe linting changes immediately instead of just showing the diff. this is a faster workflow.
Activity
github-actions commentedon Dec 1, 2025
This issue is stale because it has been open for 45 days with no activity.
chore: update pre-commit comment to reference ruff
dimitri-yatsenko commentedon Jan 8, 2026
This has been implemented. The pre-commit configuration is now modernized:
Changes Made
Ruff instead of flake8 and black
Configuration in pyproject.toml
All tool configuration is now in
pyproject.toml:Removed
.codespellrcfile (config in pyproject.toml).flake8file (replaced by ruff)Additional hooks added