diff --git a/tox.ini b/tox.ini index a8c3710a7..daa2ff872 100644 --- a/tox.ini +++ b/tox.ini @@ -14,27 +14,23 @@ commands = pytest -vv [testenv:flake8] -basepython = python3.8 deps = flake8 commands = flake8 {posargs} [testenv:docs] -basepython = python3.8 deps = -r{toxinidir}/docs/requirements_docs.txt commands = python setup.py build_sphinx -W [testenv:towncrier] -basepython = python3.8 deps = towncrier >= 18.5.0 commands = towncrier {posargs} [testenv:package] -basepython = python3.8 deps = wheel twine @@ -43,9 +39,11 @@ commands = python -m twine check dist/* [testenv:publish] -basepython = python3.8 deps = wheel twine +passenv = + TWINE_USERNAME + TWINE_PASSWORD commands = python -m twine upload dist/*