1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/tox.ini
2017-06-13 17:59:33 +05:30

45 lines
1,014 B
INI

[tox]
envlist =
docs, packaging, pep8, py3pep8, isort,
py27, py33, py34, py35, py36, py37, pypy
[testenv]
setenv =
# This is required in order to get UTF-8 output inside of the subprocesses
# that our tests use.
LC_CTYPE = en_US.UTF-8
deps = -r{toxinidir}/dev-requirements.txt
commands = py.test --timeout 300 []
install_command = python -m pip install {opts} {packages}
[testenv:docs]
deps = sphinx == 1.6.1
basepython = python2.7
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
[testenv:packaging]
deps =
check-manifest
readme_renderer
commands =
check-manifest
python setup.py check -m -r -s
[testenv:pep8]
basepython = python2.7
deps = flake8==3.3.0
commands = flake8 .
[testenv:py3pep8]
basepython = python3.3
deps = flake8==3.3.0
commands = flake8 .
[testenv:isort]
basepython = python3.3
deps = isort==4.2.5
commands = isort --recursive --check-only --diff pip tests
[flake8]
exclude = .tox,*.egg,build,_vendor,data
select = E,W,F