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: If386c764a69aa2ee04cfc1c7fe9989d8fd483c91
This commit is contained in:
wangqi
2018-11-07 10:37:02 +00:00
parent b0cbf66d49
commit 109c13ef32

View File

@@ -31,7 +31,6 @@ commands =
[testenv:pep8]
basepython = python3
commands =
python setup.py check --restructuredtext --strict
flake8 {posargs}
[testenv:venv]