-
Notifications
You must be signed in to change notification settings - Fork 64
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
Description not included by default #398
Comments
Thanks for the report! Yes, this is intended behavior. To clarify:
Does that clarify things? If so, I can look into tweaking the README to include some of that. |
Oh, unless I'm misunderstanding. Are you saying that |
Yes that's one of the cases where I'm confused about :) Especially with |
Whoops, looks like you're totally right: To clarify, here's the intended behavior of
|
I'll have a PR open to fix |
Thanks for the confirmation. Although I might even argue that |
I think we did this because |
Awesome, thanks for the explanation and fix! |
Bug description
The readme points out that
--desc
defaults toauto
and in json output mode toon
, but when passing--desc auto
it does not and if--desc
is missing at all the description is also missing. It does work for--desc on
and also--desc
being passed.Reproduction steps
Run pip audit with different options and compare json output:
Expected behavior
I would have expected to have descriptions always included, the only debate might be if it should be there if
--desc
is missing overall.Screenshots and logs
Platform information
pip-audit
version (pip-audit -V
): pip-audit 2.4.5python -V
orpython3 -V
): Python 3.10.8pip
version (pip -V
orpip3 -V
): ip 22.3 from /usr/lib/python3.10/site-packages/pip (python 3.10)Additional context
I might be even wrong with my case, so maybe it's just a clarification needed
Thanks for this helpful audit tool!
The text was updated successfully, but these errors were encountered: