Merge static and static-tests tox envs

This commit is contained in:
Ethan Paul 2020-03-14 12:22:09 -04:00
parent f8357c76f1
commit eb113d8d0b
1 changed files with 4 additions and 18 deletions

22
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
envlist = py36, py37, py38, format, static, static-tests, docs
envlist = py36, py37, py38, format, static, docs
skip_missing_interpreters = true
isolated_build = true
@ -27,27 +27,13 @@ commands =
description = Static code analysis (mypy+pylint+bandit)
ignore_errors = true
deps =
pylint == 2.3.1
astroid == 2.2.5
pylint == 2.4.4
mypy == 0.761
bandit == 1.6.2
commands =
mypy keyosk --ignore-missing-imports --no-strict-optional
pylint keyosk --rcfile .pylintrc
mypy keyosk tests --ignore-missing-imports --no-strict-optional
pylint keyosk tests --rcfile .pylintrc
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
[testenv:docs]