pants icon indicating copy to clipboard operation
pants copied to clipboard

Add backend for pip-audit

Open jyggen opened this issue 2 years ago • 3 comments

This PR adds a backend for pip-audit during the check goal.

Fixes #13770.

jyggen avatar Jul 24 '22 23:07 jyggen

Can we maybe look into optional goals? So a goal only appears if you have installed a relevant plugin?

In that case I could see an audit or similar goal, which doesn't show up unless something is installed.

It's not a fast code-related-tool goal, but a heavier metadata-and-friends goal.

Audit your deps, maybe do expensive code scanning, etc...

thejcannon avatar Aug 03 '22 19:08 thejcannon

Can we maybe look into optional goals? So a goal only appears if you have installed a relevant plugin?

We have that already :)

https://github.com/pantsbuild/pants/blob/40e17902092a9b7414473f99bf32e3f3c84e5921/src/python/pants/core/goals/test.py#L310-L312

Eric-Arellano avatar Aug 03 '22 19:08 Eric-Arellano

there it is

thejcannon avatar Aug 03 '22 20:08 thejcannon