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

Fix tox.ini / test runner.

This commit is contained in:
William Ting 2016-05-03 23:11:40 -07:00
parent 9241b4b20f
commit a24d199161
2 changed files with 4 additions and 13 deletions

View File

@ -1 +0,0 @@
tox

16
tox.ini
View File

@ -9,7 +9,7 @@ envlist =
# ignore missing setup.py
skipsdist = True
[testenv:py]
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE = 1
deps =
@ -19,22 +19,14 @@ deps =
ipython
pytest
commands =
coverage run --source=bin/ -m pytest -vv -rxs --tb native -s --durations 10 --strict {posargs:tests}
coverage run --source=bin/ -m py.test -rxs --tb native -s --strict {posargs:tests}
coverage report -m
[testenv:flake8]
deps =
flake8
pyflakes
pep8
mccabe
commands =
flake8 .
[testenv:pre-commit]
deps =
pre-commit
command =
pre-commit>=0.7.0
commands =
pre-commit {posargs}
[pytest]