Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: predefined hooks for common uses. #59

Open
jheddings opened this issue Nov 22, 2023 · 0 comments
Open

Feature Request: predefined hooks for common uses. #59

jheddings opened this issue Nov 22, 2023 · 0 comments

Comments

@jheddings
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant