You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
540 B
26 lines
540 B
[tox] |
|
envlist = py3,pypy3 |
|
|
|
[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
|
|
|