From a82c4918a3074a11786683b23be89b93883f5c3a Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Tue, 30 Oct 2018 10:20:09 -0500 Subject: [PATCH] Remove setup.py check from pep8 job Using "python setup.py check -r -s" method of checking the package has been deprecated with the new recommendation to build the sdist and wheel, then running "twine check" against the output. Luckily, there is already a job that covers this that only runs when the README, setup.py, or setup.cfg files change, making running this in the pep8 job redundant. This covered by the test-release-openstack-python3 that is defined in the publish-to-pypi-python3 template. More details can be found in this mailing list post: http://lists.openstack.org/pipermail/openstack-dev/2018-October/136136.html Change-Id: Iab0d2a2086cfecb8cc609c11de67ebbfc9d4d7d5 Signed-off-by: Sean McGinnis --- tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/tox.ini b/tox.ini index b12bbc24d..23f45c4d4 100644 --- a/tox.ini +++ b/tox.ini @@ -40,7 +40,6 @@ commands = ./run_tests.sh -N --db-type mysql basepython = python3 commands = doc8 doc/source - python setup.py check --restructuredtext --strict flake8 {posargs} . {toxinidir}/tools/get_action_list.py {toxinidir}/tools/sync_db.py [testenv:cover]