Browse Source

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
tags/5.1.0
Nguyen Van Trung 1 year ago
parent
commit
ac079bfa37
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      test-requirements.txt
  2. 1
    1
      tox.ini

+ 1
- 0
test-requirements.txt View File

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

+ 1
- 1
tox.ini View File

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

Loading…
Cancel
Save