bandit icon indicating copy to clipboard operation
bandit copied to clipboard

* bandit/cli/main.py: Set log level to ERROR if -q option is passed.

Open bje- opened this issue 3 years ago • 5 comments

Fixes #907

bje- avatar Aug 13 '22 03:08 bje-

I think the conversation on that issue is misinterpreting the documentation. I thought -q was repeatable. If it's repeated a second time, I would expect us to up the logging level to error (e.g., -qq) but I'm not sure I agree with this change as it stands. Especially with the log message that you seem to be taking issue with

sigmavirus24 avatar Aug 14 '22 15:08 sigmavirus24

You're right. I think this is a better solution.

bje- avatar Aug 15 '22 02:08 bje-

I think -d conflicts with -q because line 313 says parser instead of group.

No, -q and -v are in a group of mutually exclusive options. It's fine as it is.

bje- avatar Oct 14 '22 00:10 bje-

How can I progress with getting this merged, please?

bje- avatar Mar 12 '23 08:03 bje-