mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-31 03:06:53 +00:00
Add bandit for security linting
This commit is contained in:
parent
414922d08e
commit
c8a0b6f05e
1 changed files with 12 additions and 0 deletions
12
tox.ini
12
tox.ini
|
|
@ -58,6 +58,16 @@ deps =
|
|||
commands =
|
||||
mypy flake8
|
||||
|
||||
[testenv:bandit]
|
||||
basepython = python3
|
||||
skipsdist = true
|
||||
skip_install = true
|
||||
use_develop = false
|
||||
deps =
|
||||
bandit
|
||||
commands =
|
||||
bandit -r flake8/
|
||||
|
||||
[testenv:linters]
|
||||
basepython = python3
|
||||
skipsdist = true
|
||||
|
|
@ -67,10 +77,12 @@ deps =
|
|||
{[testenv:flake8]deps}
|
||||
{[testenv:pylint]deps}
|
||||
{[testenv:doc8]deps}
|
||||
{[testenv:bandit]deps}
|
||||
commands =
|
||||
{[testenv:flake8]commands}
|
||||
{[testenv:pylint]commands}
|
||||
{[testenv:doc8]commands}
|
||||
{[testenv:bandit]commands}
|
||||
|
||||
# Documentation
|
||||
[testenv:docs]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue