Update tox.ini: adjust py envs for Ubuntu Bionic,

separate basic linting and lint depends.
This commit is contained in:
Lee Miller 2022-04-25 02:32:59 +03:00
parent a132556233
commit 1602964b1c
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
1 changed files with 13 additions and 7 deletions

20
tox.ini
View File

@ -1,25 +1,31 @@
[tox]
envlist = reset,py{37,38,39},stats
envlist = reset,py{36,37,38,39},stats
skip_missing_interpreters = true
[testenv]
deps =
bandit
flake8
pylint
-rrequirements.txt
deps = -rrequirements.txt
commands =
coverage run -a -m tests
[testenv:lint-basic]
deps = flake8
commands =
flake8 minode --count --select=E9,F63,F7,F82 --show-source --statistics
[testenv:reset]
deps =
coverage
bandit
flake8
pylint
commands =
coverage erase
flake8 minode --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 minode --count --statistics
pylint minode --exit-zero --rcfile=tox.ini
bandit -r --exit-zero -x tests minode
[testenv:stats]
deps = coverage
commands =
coverage report
coverage xml