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: Iaea98becbcc6877d8413a08a62d4427b11598fd3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2018-10-30 10:19:14 -05:00
parent 9219ada359
commit b7e276349d

View File

@ -61,7 +61,6 @@ commands =
{envpython} {toxinidir}/manage.py extract_messages --verbosity 0 --check-only {envpython} {toxinidir}/manage.py extract_messages --verbosity 0 --check-only
bash {toxinidir}/tools/find_executables.sh bash {toxinidir}/tools/find_executables.sh
doc8 doc/source releasenotes/source releasenotes/notes doc8 doc/source releasenotes/source releasenotes/notes
python setup.py check --restructuredtext --strict
[testenv:cover] [testenv:cover]
basepython = python3 basepython = python3