Update tox.ini: adjust py envs for Ubuntu Bionic,
separate basic linting and lint depends.
This commit is contained in:
parent
a132556233
commit
1602964b1c
20
tox.ini
20
tox.ini
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user