mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-13 08:04:18 +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 =
|
commands =
|
||||||
mypy flake8
|
mypy flake8
|
||||||
|
|
||||||
|
[testenv:bandit]
|
||||||
|
basepython = python3
|
||||||
|
skipsdist = true
|
||||||
|
skip_install = true
|
||||||
|
use_develop = false
|
||||||
|
deps =
|
||||||
|
bandit
|
||||||
|
commands =
|
||||||
|
bandit -r flake8/
|
||||||
|
|
||||||
[testenv:linters]
|
[testenv:linters]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
|
|
@ -67,10 +77,12 @@ deps =
|
||||||
{[testenv:flake8]deps}
|
{[testenv:flake8]deps}
|
||||||
{[testenv:pylint]deps}
|
{[testenv:pylint]deps}
|
||||||
{[testenv:doc8]deps}
|
{[testenv:doc8]deps}
|
||||||
|
{[testenv:bandit]deps}
|
||||||
commands =
|
commands =
|
||||||
{[testenv:flake8]commands}
|
{[testenv:flake8]commands}
|
||||||
{[testenv:pylint]commands}
|
{[testenv:pylint]commands}
|
||||||
{[testenv:doc8]commands}
|
{[testenv:doc8]commands}
|
||||||
|
{[testenv:bandit]commands}
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue