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: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

20
tox.ini
View File

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