--exit-zero option
See original GitHub issueIs your feature request related to a problem? Please describe. Non zero exit codes breaks builds
Describe the solution you’d like
Pass --exit-zero option to always exit with 0
Describe alternatives you’ve considered Nil
Additional context Nil
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Ocean Club - Exit Zero Filling Station
Let's start with the rooms — 90 total, with several options for your stay, including Cape May's first cabana rooms, poolside, with two...
Read more >Cape May restaurant puts stylish spin on outdoor dining - 6ABC
But once outdoor dining became an option, it took a stylish turn. Exit Zero paired their gas pumping stations with dining tables, ...
Read more >Exit Zero: Family and Class in Postindustrial Chicago
Interweaving personal narratives and family photos with a nuanced assessment of the social impacts of deindustrialization, Exit Zero is one part memoir and...
Read more >Exit Zero (2016) - IMDb
Exit Zero : Directed by Joseph F. Ferro. With Ian Leitch, Justine Griffiths, Robert Foran, Samm Wiechec. Nick Adams, recently returned Vietnam veteran, ......
Read more >Exit Zero - An Industrial Family Story (Documentary) - YouTube
From WTTW.com:"After the steel mills closed in Southeast Chicago, residents could feel the American Dream slipping away. “ Exit Zero ” is an ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Why would someone? If you don’t use GitLab, if you don’t use Travis, if you run things locally you’re screwed with this solution.
I believe, it would be a good idea to align the use of CLI and configuration options with the other common tools in the Python tool chain (flake8 and Pylint, most importantly) to honor muscle memory. Both, flake8 and and Pylint, have a
--exit-zerooption.Can’t you just use
allow_failureon GitLab,allow_failureson Travis or similar option in other pipeline runners? This will produce failed job that won’t break the whole build, which is IMHO much better solution, because you still get the warning in form of a failed job.Also, if you really want zero exit code, can’t you just use
bandit || true?It seems kind of pointless to me to build this feature in the bandit itself.