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: I6ff57e0146da44ec736cfe7a61d45dd31ea65b90
This commit is contained in:
liuyamin 2018-11-08 10:21:35 +08:00
parent 8922f3a8e8
commit 34e48d50bf

View File

@ -80,7 +80,6 @@ commands =
flake8 {posargs:swift test doc setup.py}
flake8 --filename=swift* bin
bandit -c bandit.yaml -r swift -n 5
python ./setup.py check --restructuredtext --strict
./.manpages {posargs}
[testenv:py3pep8]