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:
parent
9241b4b20f
commit
a24d199161
@ -1 +0,0 @@
|
|||||||
tox
|
|
16
tox.ini
16
tox.ini
@ -9,7 +9,7 @@ envlist =
|
|||||||
# ignore missing setup.py
|
# ignore missing setup.py
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv:py]
|
[testenv]
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONDONTWRITEBYTECODE = 1
|
PYTHONDONTWRITEBYTECODE = 1
|
||||||
deps =
|
deps =
|
||||||
@ -19,22 +19,14 @@ deps =
|
|||||||
ipython
|
ipython
|
||||||
pytest
|
pytest
|
||||||
commands =
|
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
|
coverage report -m
|
||||||
|
|
||||||
[testenv:flake8]
|
|
||||||
deps =
|
|
||||||
flake8
|
|
||||||
pyflakes
|
|
||||||
pep8
|
|
||||||
mccabe
|
|
||||||
commands =
|
|
||||||
flake8 .
|
|
||||||
|
|
||||||
[testenv:pre-commit]
|
[testenv:pre-commit]
|
||||||
deps =
|
deps =
|
||||||
pre-commit
|
pre-commit>=0.7.0
|
||||||
command =
|
commands =
|
||||||
pre-commit {posargs}
|
pre-commit {posargs}
|
||||||
|
|
||||||
[pytest]
|
[pytest]
|
||||||
|
Loading…
Reference in New Issue
Block a user