mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
34 lines
524 B
INI
34 lines
524 B
INI
[tox]
|
|
envlist =
|
|
py26,
|
|
py27,
|
|
py33,
|
|
py34,
|
|
py35
|
|
# ignore missing setup.py
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv =
|
|
PYTHONDONTWRITEBYTECODE = 1
|
|
deps =
|
|
mock
|
|
coverage
|
|
ipdb
|
|
ipython
|
|
pytest >= 2.9
|
|
commands =
|
|
coverage run --source=bin/ --omit=bin/autojump_argparse.py -m \
|
|
py.test -vv -rxs --tb native -s --strict {posargs:tests}
|
|
coverage report -m
|
|
|
|
|
|
[testenv:pre-commit]
|
|
deps =
|
|
pre-commit>=0.7.0
|
|
commands =
|
|
pre-commit {posargs}
|
|
|
|
[pytest]
|
|
norecursedirs = .git .tox docs
|