bandit/examples
Jamie Finnigan b6c8b9f01b Catch general exception on per-file basis
This modifies the Bandit manager to catch a general Exception on a
per-file basis. When an exception does occur, the name of the file is
emitted and the file is logged as a 'skipped file' for inclusion in
the end-of-run output. When run in debug mode, a traceback will also
be printed.

The change also adds a new test targeting this case, along with a new
example file (nonsense2.py is gzipped nonsense.py) to trigger the
test.

Change-Id: I86e648890dddcc5c2fff7dd9844678e990b0cd63
Closes-Bug: #1498258
2016-04-13 09:39:21 -07:00
..
2015-05-06 14:06:44 +01:00
2014-07-16 10:27:50 -07:00
2014-07-17 11:23:57 -07:00
2014-07-17 12:10:18 -07:00
2016-01-08 10:06:22 +11:00
2015-08-03 14:03:57 +01:00
2015-11-05 16:47:51 +11:00
2015-04-24 09:58:26 -07:00