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/ Change-Id: Ie23b07a2909482a4b36cfe9159f42f57747927cd
This commit is contained in:
parent
fbb88383c9
commit
a78ce2f932
@ -18,3 +18,4 @@ testresources>=2.0.0 # Apache-2.0/BSD
|
|||||||
testscenarios>=0.4 # Apache-2.0/BSD
|
testscenarios>=0.4 # Apache-2.0/BSD
|
||||||
testtools>=2.2.0 # MIT
|
testtools>=2.2.0 # MIT
|
||||||
stestr>=1.0.0 # Apache-2.0
|
stestr>=1.0.0 # Apache-2.0
|
||||||
|
Pygments>=2.2.0 # BSD license
|
||||||
|
2
tox.ini
2
tox.ini
@ -25,7 +25,7 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
|||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands =
|
commands =
|
||||||
doc8 -e .rst doc/source/ CONTRIBUTING.rst HACKING.rst README.rst --ignore D000
|
doc8 -e .rst doc/source/ CONTRIBUTING.rst HACKING.rst README.rst
|
||||||
bash tools/flake8wrap.sh {posargs}
|
bash tools/flake8wrap.sh {posargs}
|
||||||
# The following bandit tests are being skipped:
|
# The following bandit tests are being skipped:
|
||||||
# B303 - Use of insecure MD2, MD4, or MD5 hash function.
|
# B303 - Use of insecure MD2, MD4, or MD5 hash function.
|
||||||
|
Loading…
Reference in New Issue
Block a user