Allow to check pep8 along with D000

This commit going to remove --ignore D000 which had raised
following issues:

"D000 Cannot analyze code. Pygments package not found."

And they also fixed in https://review.openstack.org/#/c/568729/
Depends-On: https://review.openstack.org/#/c/570236/

Change-Id: I3f35c65d385dc65ccefbac608498ad85ff4a4d71
This commit is contained in:
Nguyen Van Trung 2018-05-23 23:16:14 +07:00
parent ad0cbe99be
commit ac079bfa37
2 changed files with 2 additions and 1 deletions

View File

@ -15,3 +15,4 @@ testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
PyYAML>=3.12 # MIT
mock>=2.0.0 # BSD
Pygments>=2.2.0 # BSD license

View File

@ -15,7 +15,7 @@ commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
doc8 doc/source releasenotes/source README.rst CONTRIBUTING.rst MISSION.rst HACKING.rst --ignore D000
doc8 doc/source releasenotes/source README.rst CONTRIBUTING.rst MISSION.rst HACKING.rst
[testenv:venv]
commands = {posargs}