25 lines
512 B
INI
25 lines
512 B
INI
[tox]
|
|
envlist = py3
|
|
|
|
[testenv]
|
|
deps =
|
|
-rrequirements-dev.txt
|
|
commands =
|
|
coverage erase
|
|
coverage run --source=minitor/ -m pytest --capture=no -vv {posargs:tests}
|
|
coverage report -m --fail-under 50
|
|
pre-commit run --all-files
|
|
|
|
[testenv:pre-commit]
|
|
commands =
|
|
pre-commit {posargs}
|
|
|
|
[flake8]
|
|
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.ropeproject,.tox,docs,virtualenv_run
|
|
filename = *.py,*.wsgi
|
|
max-line-length = 80
|
|
ignore = F403
|
|
|
|
[pytest]
|
|
norecursedirs = .* _darcs CVS docs virtualenv_run
|