2014-06-28 23:57:00 +00:00
|
|
|
[tox]
|
|
|
|
envlist =
|
2022-01-23 00:48:46 +00:00
|
|
|
py39
|
2014-06-28 23:57:00 +00:00
|
|
|
# ignore missing setup.py
|
|
|
|
skipsdist = True
|
|
|
|
|
2016-05-04 06:11:40 +00:00
|
|
|
[testenv]
|
2016-04-29 05:44:27 +00:00
|
|
|
setenv =
|
|
|
|
PYTHONDONTWRITEBYTECODE = 1
|
2016-04-29 05:37:49 +00:00
|
|
|
deps =
|
|
|
|
mock
|
2016-04-29 05:44:27 +00:00
|
|
|
coverage
|
2016-04-29 05:50:09 +00:00
|
|
|
ipdb
|
|
|
|
ipython
|
2016-06-23 01:09:36 +00:00
|
|
|
pytest >= 2.9
|
2016-04-29 05:44:27 +00:00
|
|
|
commands =
|
2016-05-04 06:24:29 +00:00
|
|
|
coverage run --source=bin/ --omit=bin/autojump_argparse.py -m \
|
2016-05-04 07:50:06 +00:00
|
|
|
py.test -vv -rxs --tb native -s --strict {posargs:tests}
|
2016-04-29 05:44:27 +00:00
|
|
|
coverage report -m
|
2014-06-28 23:57:00 +00:00
|
|
|
|
|
|
|
|
2016-04-29 06:25:07 +00:00
|
|
|
[testenv:pre-commit]
|
|
|
|
deps =
|
2016-05-04 06:11:40 +00:00
|
|
|
pre-commit>=0.7.0
|
|
|
|
commands =
|
2016-04-29 06:25:07 +00:00
|
|
|
pre-commit {posargs}
|
|
|
|
|
2014-06-28 23:57:00 +00:00
|
|
|
[pytest]
|
|
|
|
norecursedirs = .git .tox docs
|