ruff-pre-commit
ruff-pre-commit copied to clipboard
Feature Request: predefined hooks for common uses.
Just switching over to ruff from [other tools] and it has been a great experience!
A minor request would be to build more pre-commit hooks for common invocations (rather than passing arguments). This helps keep the .pre-commit-config.yaml tidy as well as gives the authors the ability to adjust arguments as needed.
Specifically, I was hoping for the following hooks:
- id: ruff-fix-all
- id: ruff-check
Of course, keeping the default ruff hook for any other custom hooks is great, too.
I'd be happy to submit a PR if this seems useful to the project. Thanks again!