tox: check publish lint
@@ -18,6 +18,7 @@ known_first_party = aqt
known_third_party = docutils,flake8,pyannotate_runtime,pytest,pytz,requests,setuptools,sphinx,yaml,packaging
[testenv:check]
+basepython = python3.7
deps =
docutils
check-manifest
@@ -25,11 +26,14 @@ deps =
readme-renderer
pygments
isort
+ pep517
skip_install = true
commands =
check-manifest {toxinidir}
flake8 aqt tests setup.py
isort --verbose --check-only --diff --recursive aqt tests setup.py
+ python -m pep517.build --source --binary --out-dir dist/ ./
+ twine check dist/*
[testenv:docs]
deps =
