From c6a9dfdb43081588b347b2f6e355bf057b71b4bd Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Wed, 15 May 2013 14:35:29 -0700 Subject: 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 --- tools/test-requires | 5 ++++- tox.ini | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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] -- cgit