From 4418b05ca50f728f45f36d37a502e98a3f11c088 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 25 Sep 2018 15:25:51 +0000 Subject: [PATCH] Switch to `twine check` in tox testenv:dist As of twine 1.12.0 we can now replace `setup.py check ...` with `twine check` as a more standard approach to validating the markup of description text in packages (and potentially other aspects of package metadata in the future). --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b40057b..fd43312 100644 --- a/tox.ini +++ b/tox.ini @@ -25,10 +25,11 @@ whitelist_externals = rm deps = docutils pbr + twine commands = rm -fr dist - python setup.py check --restructuredtext --strict python setup.py bdist_wheel sdist + twine check dist/* [testenv:docs] whitelist_externals = rm -- 2.11.0