mirror of
https://github.com/enpaul/keyosk.git
synced 2024-11-30 18:30:22 +00:00
Merge static and static-tests tox envs
This commit is contained in:
parent
f8357c76f1
commit
eb113d8d0b
22
tox.ini
22
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py36, py37, py38, format, static, static-tests, docs
|
envlist = py36, py37, py38, format, static, docs
|
||||||
skip_missing_interpreters = true
|
skip_missing_interpreters = true
|
||||||
isolated_build = true
|
isolated_build = true
|
||||||
|
|
||||||
@ -27,27 +27,13 @@ commands =
|
|||||||
description = Static code analysis (mypy+pylint+bandit)
|
description = Static code analysis (mypy+pylint+bandit)
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
deps =
|
deps =
|
||||||
pylint == 2.3.1
|
pylint == 2.4.4
|
||||||
astroid == 2.2.5
|
|
||||||
mypy == 0.761
|
mypy == 0.761
|
||||||
bandit == 1.6.2
|
bandit == 1.6.2
|
||||||
commands =
|
commands =
|
||||||
mypy keyosk --ignore-missing-imports --no-strict-optional
|
mypy keyosk tests --ignore-missing-imports --no-strict-optional
|
||||||
pylint keyosk --rcfile .pylintrc
|
pylint keyosk tests --rcfile .pylintrc
|
||||||
bandit --recursive keyosk
|
bandit --recursive keyosk
|
||||||
|
|
||||||
[testenv:static-tests]
|
|
||||||
description = Static code analysis for the tests (mypy+pylint+bandit)
|
|
||||||
ignore_errors = true
|
|
||||||
deps =
|
|
||||||
pytest == 5.3.5
|
|
||||||
pylint == 2.3.1
|
|
||||||
astroid == 2.2.5
|
|
||||||
mypy == 0.761
|
|
||||||
bandit == 1.6.2
|
|
||||||
commands =
|
|
||||||
mypy tests --ignore-missing-imports --no-strict-optional
|
|
||||||
pylint tests --rcfile .pylintrc
|
|
||||||
bandit --recursive tests --skip B101
|
bandit --recursive tests --skip B101
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
Loading…
Reference in New Issue
Block a user