blob: 3cac0895e7a9a5fc0e7bc3ece5578cc746ac9053 [file] [log] [blame]
[tox]
envlist = lint,py27,py34,py35,py36,pypy,cover
[testenv]
deps =
mock
pytest
pytest-cov
commands =
py.test --cov=google_auth_oauthlib --cov=tests {posargs:tests}
[testenv:cover]
basepython = python3.6
commands =
py.test --cov=google_auth_oauthlib --cov=tests --cov-report= tests
coverage report --show-missing --fail-under=100
deps =
{[testenv]deps}
[testenv:lint]
basepython = python3.5
commands =
python setup.py check --metadata --restructuredtext --strict
flake8 \
--import-order-style=google \
--application-import-names="google_auth_oauthlib,tests" \
google_auth_oauthlib tests
python {toxinidir}/../../scripts/run_pylint.py \
--library-filesets google_auth_oauthlib \
--test-filesets tests
deps =
flake8
flake8-import-order
pylint
docutils