minitor/tox.ini
Ian Fijolek 16be263093 Add the ability to include last command output in the alert
Update readme to document the new templating vars
2018-04-18 17:16:26 -07:00

27 lines
534 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 70
pre-commit run --all-files
[testenv:pre-commit]
deps =
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