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:
parent
ad0cbe99be
commit
ac079bfa37
|
@ -15,3 +15,4 @@ testscenarios>=0.4 # Apache-2.0/BSD
|
||||||
testtools>=2.2.0 # MIT
|
testtools>=2.2.0 # MIT
|
||||||
PyYAML>=3.12 # MIT
|
PyYAML>=3.12 # MIT
|
||||||
mock>=2.0.0 # BSD
|
mock>=2.0.0 # BSD
|
||||||
|
Pygments>=2.2.0 # BSD license
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -15,7 +15,7 @@ commands = python setup.py test --slowest --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = flake8
|
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]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
Loading…
Reference in New Issue