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

39 lines
590 B
INI
Raw Normal View History

[tox]
envlist =
2016-04-29 05:44:27 +00:00
py26,
py27,
py33,
2016-05-03 18:45:09 +00:00
py34,
py35,
py36
# 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
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 =
coverage run --source=bin/ --omit=bin/autojump_argparse.py -m \
py.test -vv -rxs --tb native -s --strict {posargs:tests}
2016-04-29 05:44:27 +00:00
coverage report -m
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}
[pytest]
norecursedirs = .git .tox docs
2018-12-03 03:48:46 +00:00
[pycodestyle]
ignore = E731,W504
max-line-length = 131