mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +08:00
Merge pull request #2303 from kevinoid/bandit-use-config
python/bandit: Use .bandit configuration file
This commit is contained in:
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user