1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00
wting_autojump/tox.ini

42 lines
586 B
INI
Raw Normal View History

[tox]
envlist =
2016-04-29 05:44:27 +00:00
py26,
py27,
py32,
py33,
2016-05-03 18:45:09 +00:00
py34,
py35
# ignore missing setup.py
skipsdist = True
2016-04-29 06:25:07 +00:00
[testenv:py]
2016-04-29 05:44:27 +00:00
setenv =
PYTHONDONTWRITEBYTECODE = 1
deps =
mock
2016-04-29 05:44:27 +00:00
coverage
2016-04-29 05:50:09 +00:00
ipdb
ipython
pytest
2016-04-29 05:44:27 +00:00
commands =
coverage run --source=bin/ -m pytest -vv -rxs --tb native -s --durations 10 --strict {posargs:tests}
coverage report -m
[testenv:flake8]
2016-04-29 05:44:27 +00:00
deps =
flake8
pyflakes
pep8
mccabe
commands =
flake8 .
2016-04-29 06:25:07 +00:00
[testenv:pre-commit]
deps =
pre-commit
command =
pre-commit {posargs}
[pytest]
norecursedirs = .git .tox docs