This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/command_callback/python_paths
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
..
namespace_package_manifest Look for ini file to spot python project root (#755) 2017-07-11 21:57:37 +01:00
namespace_package_pytest Look for ini file to spot python project root (#755) 2017-07-11 21:57:37 +01:00
namespace_package_setup Look for ini file to spot python project root (#755) 2017-07-11 21:57:37 +01:00
namespace_package_tox Look for ini file to spot python project root (#755) 2017-07-11 21:57:37 +01:00
no_virtualenv/subdir/foo Add support for linting git commit message files (#1233) 2017-12-20 10:10:07 +00:00
with_bandit python/bandit: Use .bandit configuration file 2019-02-17 14:24:18 -07:00
with_virtualenv Document and test ale_python_vulture_options 2019-02-10 08:18:55 -07:00