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]
|
||||
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]
|
||||
|
Loading…
Reference in New Issue
Block a user