You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I am a bit confused on how to use pip-audit for libraries, especially when I want to check them in CI (not github). Ideally, I want to run it via pre-commit. Does the pre-commit hook install the package under test and then run pip-audit? I especially ask about libraries, where I do not have a requirements.txt.
I usually use tox to run pre-commit to run my linters. For pip-audit, would it be better than to create a separate tox environment for pip-audit, as tox automatically installs the package?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hey, I am a bit confused on how to use pip-audit for libraries, especially when I want to check them in CI (not github). Ideally, I want to run it via pre-commit. Does the pre-commit hook install the package under test and then run pip-audit? I especially ask about libraries, where I do not have a requirements.txt.
So does
install the library, and then run pip-audit?
Thanks!
I usually use tox to run pre-commit to run my linters. For pip-audit, would it be better than to create a separate tox environment for pip-audit, as tox automatically installs the package?
Thank you!
All reactions