Kevin Locke
52c2400786
python/bandit: Use .bandit configuration file
...
Bandit automatically [uses any .bandit file] within the directories on
which it is invoked. Since ALE invokes bandit on stdin, it does not
load a .bandit file automatically. Add support for automatically
finding a .bandit file and passing it to bandit via the --ini option
along with a variable to disable this behavior if desired.
Note: This is useful for the skips and tests configuration options, but
not exclude which would require invoking bandit using a file name, which
may or may not be a good trade-off.
[uses any .bandit file]: https://github.com/PyCQA/bandit/blob/1.5.1/bandit/cli/main.py#L70-L73
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-17 14:24:18 -07:00
..
2019-01-26 19:33:52 +00:00
2018-10-18 09:19:27 +01:00
2018-09-04 16:51:18 +01:00
2019-02-02 16:20:14 +01:00
2018-08-02 23:44:12 +01:00
2018-08-02 23:44:12 +01:00
2019-02-06 18:05:13 +00:00
2019-02-06 18:05:13 +00:00
2018-08-02 23:44:12 +01:00
2019-02-06 18:05:13 +00:00
2018-06-20 14:59:51 +02:00
2017-04-24 22:27:18 +01:00
2017-08-08 08:39:13 +01:00
2019-02-06 18:05:13 +00:00
2019-02-06 18:05:13 +00:00
2019-01-26 19:33:52 +00:00
2018-08-02 23:44:12 +01:00
2018-09-04 16:51:18 +01:00
2019-01-26 19:33:52 +00:00
2019-02-06 20:29:58 -02:00
2018-10-17 16:11:41 +01:00
2018-09-04 16:51:18 +01:00
2018-09-04 11:15:59 +01:00
2018-10-26 17:34:32 +01:00
2019-01-26 19:33:52 +00:00
2019-02-06 18:05:13 +00:00
2019-01-26 19:33:52 +00:00
2018-11-04 19:55:06 +13:00
2018-03-23 12:17:54 +00:00
2018-08-02 23:44:12 +01:00
2017-12-20 22:53:03 -06:00
2018-08-02 23:44:12 +01:00
2018-08-30 03:42:44 +02:00
2018-08-02 23:44:12 +01:00
2019-02-06 18:05:13 +00:00
2018-12-18 18:59:02 +09:00
2019-02-06 18:05:13 +00:00
2018-11-04 10:35:21 +00:00
2018-08-02 23:44:12 +01:00
2019-02-07 16:24:41 +00:00
2019-02-02 16:20:14 +01:00
2019-02-02 16:20:14 +01:00
2019-02-06 18:05:13 +00:00
2018-11-21 10:40:07 +01:00
2019-02-07 11:20:18 +01:00
2019-02-11 21:24:22 +00:00
2018-09-04 16:51:18 +01:00
2018-09-19 07:34:11 -07:00
2019-02-06 18:05:13 +00:00
2018-08-02 23:44:12 +01:00
2018-08-02 23:44:12 +01:00
2018-08-02 23:44:12 +01:00
2019-02-02 16:20:14 +01:00
2018-09-04 16:51:18 +01:00
2019-02-10 23:43:43 +00:00
2018-08-02 23:44:12 +01:00
2018-08-02 23:44:12 +01:00
2018-09-10 08:17:44 +10:00
2017-11-19 00:38:00 +00:00
2017-04-18 00:35:53 +01:00
2019-02-02 16:20:14 +01:00
2018-09-28 03:26:57 +08:00
2018-09-04 16:51:18 +01:00
2018-04-09 19:11:20 +01:00
2018-12-16 17:01:24 -05:00
2019-02-10 11:43:48 +00:00
2018-11-23 09:39:50 +00:00
2019-02-02 16:20:14 +01:00
2019-02-02 16:20:14 +01:00
2018-08-02 23:44:12 +01:00
2019-02-10 11:43:48 +00:00
2018-01-07 17:56:56 +01:00
2018-08-02 23:44:12 +01:00
2018-09-04 16:51:18 +01:00
2018-08-02 23:44:12 +01:00
2019-02-17 14:24:18 -07:00
2018-08-02 23:44:12 +01:00
2018-06-07 15:06:09 +02:00
2019-01-14 19:45:33 +00:00
2018-04-09 19:11:20 +01:00
2017-11-17 15:34:07 +09:00
2019-02-02 16:20:14 +01:00
2018-12-10 14:02:32 -07:00
2018-10-22 09:21:48 +01:00
2018-12-06 11:23:31 -07:00
2018-12-03 20:39:10 +00:00
2018-12-06 11:23:31 -07:00
2019-02-10 09:00:55 -07:00
2019-02-06 18:05:13 +00:00
2018-09-04 16:51:18 +01:00
2018-09-04 16:51:18 +01:00
2018-08-02 23:44:12 +01:00
2017-04-18 00:35:53 +01:00
2018-08-02 23:44:12 +01:00
2019-01-27 11:42:11 +00:00
2019-02-06 18:05:13 +00:00
2018-09-04 16:51:18 +01:00
2018-09-04 16:51:18 +01:00
2016-10-21 21:02:20 -05:00
2019-02-02 16:20:14 +01:00
2019-02-02 16:20:14 +01:00
2019-02-02 16:20:14 +01:00
2019-01-26 19:33:52 +00:00
2019-02-11 21:24:22 +00:00
2019-02-06 18:05:13 +00:00
2019-02-06 18:05:13 +00:00
2019-01-26 19:33:52 +00:00
2018-08-02 23:44:12 +01:00
2019-02-02 16:20:14 +01:00
2019-02-06 18:05:13 +00:00
2018-08-02 23:44:12 +01:00
2018-09-04 16:51:18 +01:00