-
Notifications
You must be signed in to change notification settings - Fork 62
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
support pre-commit (add a small file called .pre-commit-hooks.yaml) #252
Comments
hi, I can do this |
@tal66 please do! |
hi, so would this be good for you? :
i put it on the main branch in my fork, and it seems to work with a dummy client that uses this config:
|
I think we should also pass
Something like: args: ["-r", "requirements.txt"]
# Or
args: ["."] Since i tested this I just put up the PR here #256. Thanks for starting the work tho! |
cooperlees, are you a part of their team? |
He's not, but all changes are welcome. Thanks @cooperlees! |
FWIW - pre-commit.ci does not like how pip-audit uses pip: pre-commit/pre-commit#2368 Will see if we need to document that it's not supported there or see if it can be fixed.
|
Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
add a small file called
.pre-commit-hooks.yaml
in the root of the project, follow thisDescribe alternatives you've considered
using
pre-commit
runningpip-audit
globally installed on the system (not ideal for teams)Additional context
join a massive ecosystem of easy-to-use hooks
The text was updated successfully, but these errors were encountered: