-
-
Notifications
You must be signed in to change notification settings - Fork 776
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
Adding pip-audit
fails with pre-commit.ci due to pip
support
#2368
Comments
pip-audit
failes with pre-commit.ci due to pip
supportpip-audit
fails with pre-commit.ci due to pip
support
the issues for https://pre-commit.ci are at https://github.com/pre-commit-ci/issues (linked at the bottom of every pre-commit.ci page) network is forbidden at runtime for the free tier because it invites abuse (crypto mining, etc.) and makes runtime unpredictable. you can utilize more information: https://github.com/pre-commit-ci/issues/issues?q=is%3Aissue+network+is%3Aclosed |
fwiw, imo |
Just as a note: I'm not too familiar with |
pre-commit will always run it from an isolated environment so it doesn't really make sense at all |
That makes sense for the preconfigured environment case. For users who have frozen/completely hashed environments, either But either way I leave it to you; there's no significant advantage AFAICT to having |
describe your issue
I added pip-audit to my pre-commit configuration for bandersnatch and the CI doesn't like how it uses pip. Is there anyway we can tune the environment here or is this outside what pre-commit.ci offers? If so, should we document this and have users move back to running pre-commit in my own action/ci job?
PR with failing action added: pypa/bandersnatch#1116
pre-commit.ci job: https://results.pre-commit.ci/run/github/133377409/1651359348.J_Nu59G_RqyOHsV2bHdyoQ
Sorry if this is the wrong place to log issues for the .ci offering. This just seemed the best place from my quick searching etc.
pre-commit --version
Latest? Don't know ...
.pre-commit-config.yaml
https://github.com/pypa/bandersnatch/blob/pre-commit-pip-audit/.pre-commit-config.yaml#L41-L45
pip-audit config: https://github.com/trailofbits/pip-audit/blob/main/.pre-commit-hooks.yaml
~/.cache/pre-commit/pre-commit.log (if present)
In the cloud.
The text was updated successfully, but these errors were encountered: