tox.ini
[tox]
envlist = 3
[testenv]
basepython =
3: python3
deps =
flake8
flake8-docstrings
flake8-polyfill
pydocstyle<4.0.0
radon
nose
coverage
commands =
flake8 wtf_otp tests
radon cc -nc wtf_otp tests
radon mi -nc wtf_otp tests
coverage erase
coverage run --branch --omit=tests,.tox --source=wtf_otp -m unittest discover -b
; nosetests --with-coverage --cover-erase --cover-package=wtf_otp --all tests
setenv =
3: COVERAGE_FILE=.coverage