summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Van Trung <trungnv@vn.fujitsu.com>2018-05-23 23:16:14 +0700
committerNguyen Van Trung <trungnv@vn.fujitsu.com>2018-05-24 01:31:51 +0000
commitac079bfa376b819c2d81fa9274754e3e4f280eae (patch)
tree2cdea3bba3c497c9e38aac6f4cfc94fad564600b
parentad0cbe99be87694f08013827974c51849cece58b (diff)
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
Notes
Notes (review): Code-Review+2: yolanda.robla <yroblamo@redhat.com> Code-Review+2: Dmitry Tantsur <divius.inside@gmail.com> Workflow+1: Dmitry Tantsur <divius.inside@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sun, 27 May 2018 11:05:27 +0000 Reviewed-on: https://review.openstack.org/570224 Project: openstack/bifrost Branch: refs/heads/master
-rw-r--r--test-requirements.txt1
-rw-r--r--tox.ini2
2 files changed, 2 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 49f1d85..5464d1c 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -15,3 +15,4 @@ testscenarios>=0.4 # Apache-2.0/BSD
15testtools>=2.2.0 # MIT 15testtools>=2.2.0 # MIT
16PyYAML>=3.12 # MIT 16PyYAML>=3.12 # MIT
17mock>=2.0.0 # BSD 17mock>=2.0.0 # BSD
18Pygments>=2.2.0 # BSD license
diff --git a/tox.ini b/tox.ini
index edb3675..d1e9acf 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,7 +15,7 @@ commands = python setup.py test --slowest --testr-args='{posargs}'
15 15
16[testenv:pep8] 16[testenv:pep8]
17commands = flake8 17commands = 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[testenv:venv] 20[testenv:venv]
21commands = {posargs} 21commands = {posargs}