mirror of
https://github.com/dense-analysis/ale
synced 2024-12-27 16:42:19 +00:00
52c2400786
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> |
||
---|---|---|
.. | ||
namespace_package_manifest | ||
namespace_package_pytest | ||
namespace_package_setup | ||
namespace_package_tox | ||
no_virtualenv/subdir/foo | ||
with_bandit | ||
with_virtualenv |