mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
46 lines
625 B
INI
46 lines
625 B
INI
[tox]
|
|
envlist =
|
|
py26,
|
|
py27,
|
|
py32,
|
|
py33,
|
|
py34
|
|
# ignore missing setup.py
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv =
|
|
PYTHONDONTWRITEBYTECODE = 1
|
|
deps =
|
|
mock
|
|
coverage
|
|
ipdb
|
|
ipython
|
|
pytest
|
|
commands =
|
|
coverage run --source=bin/ -m pytest -vv -rxs --tb native -s --durations 10 --strict {posargs:tests}
|
|
coverage report -m
|
|
|
|
[testenv:flake8]
|
|
deps =
|
|
flake8
|
|
pyflakes
|
|
pep8
|
|
mccabe
|
|
commands =
|
|
flake8 .
|
|
|
|
[flake8]
|
|
filename =
|
|
*.py,
|
|
autojump
|
|
ignore =
|
|
E126,
|
|
E128
|
|
max-line-length = 131
|
|
max-complexity = 20
|
|
show-pep8 = True
|
|
|
|
[pytest]
|
|
norecursedirs = .git .tox docs
|