[tox]
envlist = py34,docs,pep8,packaging


[testenv]
deps =
    coverage
    pytest
commands =
    python -m coverage run --source warehouse/ -m pytest --strict {posargs}
    python -m coverage report -m --fail-under 100


[testenv:docs]
deps =
    doc8
    sphinx
    sphinx_rtd_theme
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
    sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
    doc8 --allow-long-titles README.rst docs/ --ignore-path docs/_build/


[testenv:pep8]
basepython = python3.2
deps =
    flake8
    flake8-import-order
    pep8-naming
commands =
    flake8 .


[testenv:packaging]
deps = check-manifest
commands =
    check-manifest


[flake8]
exclude = .tox,*.egg
select = E,W,F,N,I
application-import-names = warehouse,tests


[doc8]
extensions = rst

[tox]
envlist = py34,docs,pep8,packaging


[testenv]
deps =
    coverage
    pytest
commands =
    python -m coverage run --source warehouse/ -m pytest --strict {posargs}
    python -m coverage report -m --fail-under 100


[testenv:docs]
deps =
    doc8
    sphinx
    sphinx_rtd_theme
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
    sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
    doc8 --allow-long-titles README.rst docs/ --ignore-path docs/_build/


[testenv:pep8]
deps =
    flake8
    flake8-import-order
    pep8-naming
commands =
    flake8 .


[testenv:packaging]
deps = check-manifest
commands =
    check-manifest


[flake8]
exclude = .tox,*.egg
select = E,W,F,N,I
application-import-names = warehouse,tests


[doc8]
extensions = rst

Remove the python3.2 basepython from pep8
Remove the python3.2 basepython from pep8
