question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

--exit-zero option

See original GitHub issue

Is 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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
bittnercommented, Mar 21, 2019

Can’t you just use allow_failure on GitLab

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-zero option.

2reactions
stinovlascommented, Nov 29, 2018

Can’t you just use allow_failure on GitLab, allow_failures on 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found