commands =
coverage erase
nose2 -C --coverage n2vc --plugin nose2.plugins.junitxml -s n2vc
- coverage report --omit='*tests*'
- coverage html -d ./cover --omit='*tests*'
- coverage xml -o coverage.xml --omit='*tests*'
+ coverage report --omit='*n2vc/tests*'
+ coverage html -d ./cover --omit='*n2vc/tests*'
+ coverage xml -o coverage.xml --omit='*n2vc/tests*'
[testenv:pylint]
basepython = python3
deps =
- pylint
+ pylint==2.6.0
-rrequirements.txt
commands =
pylint -E n2vc --ignore=tests
[testenv:pylint-tests]
basepython = python3
deps =
- pylint
+ pylint==2.6.0
-rrequirements.txt
-rtest-requirements.txt
commands =
[flake8]
# W503 is invalid PEP-8
-max-line-length = 88
+max-line-length = 100
show-source = True
ignore = W503,E203
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,devops_stages/*,.rst