ale/ale_linters
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-02-02 16:20:14 +01:00
2019-02-06 18:05:13 +00:00
2019-02-06 18:05:13 +00:00
2019-02-06 18:05:13 +00:00
2019-02-06 18:05:13 +00:00
2019-02-06 18:05:13 +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
2019-02-06 18:05:13 +00:00
2017-12-20 22:53:03 -06:00
2019-02-06 18:05:13 +00:00
2019-02-06 18:05:13 +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
2018-09-04 16:51:18 +01:00
2019-02-06 18:05:13 +00:00
2019-02-02 16:20:14 +01:00
2018-09-04 16:51:18 +01:00
2019-02-02 16:20:14 +01:00
2018-09-04 16:51:18 +01:00
2019-02-02 16:20:14 +01:00
2019-02-02 16:20:14 +01:00
2018-09-04 16:51:18 +01:00
2018-06-07 15:06:09 +02:00
2019-01-14 19:45:33 +00: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-06 11:23:31 -07:00
2019-02-06 18:05:13 +00:00
2018-09-04 16:51:18 +01:00
2019-02-06 18:05:13 +00:00
2018-09-04 16:51:18 +01: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-02-06 18:05:13 +00:00
2019-02-06 18:05:13 +00:00
2019-02-02 16:20:14 +01:00
2019-02-06 18:05:13 +00:00
2018-09-04 16:51:18 +01:00