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