summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Gordon <jogo@cloudscaling.com>2013-05-15 14:35:29 -0700
committerJoe Gordon <jogo@cloudscaling.com>2013-05-15 14:35:29 -0700
commitc6a9dfdb43081588b347b2f6e355bf057b71b4bd (patch)
tree3e94fb367c8216ca4586f5ecd27887ec74d1664d
parent378701bf3b2c67b3b98e692076f78cb83c2a419e (diff)
downloadoslo-c6a9dfdb43081588b347b2f6e355bf057b71b4bd.tar.gz
oslo-c6a9dfdb43081588b347b2f6e355bf057b71b4bd.tar.xz
oslo-c6a9dfdb43081588b347b2f6e355bf057b71b4bd.zip
Add hacking extension to flake8
Include hacking in test-requires and disable any failing tests. Once failing tests are fixed they can be enabled to gate on them. Change-Id: Id6a228441ec94d5d0bee1dba05118bb35ecaa001
-rw-r--r--tools/test-requires5
-rw-r--r--tox.ini1
2 files changed, 5 insertions, 1 deletions
diff --git a/tools/test-requires b/tools/test-requires
index 93f93e0..62c0eea 100644
--- a/tools/test-requires
+++ b/tools/test-requires
@@ -3,7 +3,8 @@ distribute>=0.6.24
coverage
fixtures>=0.3.12
-flake8
+flake8==2.0
+hacking>=0.5.3,<0.6
mock
mox==0.5.3
mysql-python
@@ -12,6 +13,8 @@ nose-exclude
nosexcover
openstack.nose_plugin
nosehtmloutput
+pep8==1.4.5
+pyflakes==0.7.2
pylint
pyzmq==2.2.0.1
redis
diff --git a/tox.ini b/tox.ini
index cf9e11f..c23df7f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,6 +17,7 @@ commands =
[flake8]
show-source = True
+ignore = H201,H202,H302,H304,H306,H401,H402,H403,H404,H702,H703
exclude = .venv,.tox,dist,doc,*.egg,.update-venv
[testenv:pep8]