ruff-pre-commit icon indicating copy to clipboard operation
ruff-pre-commit copied to clipboard

Feature Request: predefined hooks for common uses.

Open jheddings opened this issue 2 years ago • 0 comments

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!

jheddings avatar Nov 22 '23 16:11 jheddings