bandit icon indicating copy to clipboard operation
bandit copied to clipboard

#640 - Exit zero status based on severity level

Open maciejstromich opened this issue 4 years ago • 3 comments

This PR enables more fine grained control over exit zero status based on severity level.

maciejstromich avatar Jun 12 '21 17:06 maciejstromich

@ericwb @ghugo @sigmavirus24 @lukehinds the pep8 check is failing with bunch of

tests/unit/formatters/test_html.py:10:1: H216: The unittest.mock module should be used rather than the third party mock package unless actually needed. If so, disable the H216 check in hacking config and ensure mock is declared in the project's requirements.
import mock

how do you want to approach this? should this be a separate PR or can I include it in the current one?

maciejstromich avatar Jun 12 '21 18:06 maciejstromich

ah apparently @ericwb created already a PR for that #685

maciejstromich avatar Jun 12 '21 18:06 maciejstromich

@zealotous thanks a review.

maciejstromich avatar Dec 12 '21 13:12 maciejstromich