Merge pull request #2303 from kevinoid/bandit-use-config

python/bandit: Use .bandit configuration file
This commit is contained in:
w0rp
2019-02-20 09:58:02 +00:00
committed by GitHub
6 changed files with 42 additions and 0 deletions

View File

@@ -90,6 +90,17 @@ g:ale_python_bandit_options *g:ale_python_bandit_options*
bandit invocation.
g:ale_python_bandit_use_config *g:ale_python_bandit_use_config*
*b:ale_python_bandit_use_config*
Type: |Number|
Default: `1`
If this variable is true and a `.bandit` file exists in the directory of the
file being checked or a parent directory, an `--ini` option is added to the
`bandit` command for the nearest `.bandit` file. Set this variable false to
disable adding the `--ini` option automatically.
g:ale_python_bandit_use_global *g:ale_python_bandit_use_global*
*b:ale_python_bandit_use_global*
Type: |Number|