Add hacking to the flake8 tests

* Fixing all rules will be in subsequent commits

Change-Id: If972c22297a7c41b72a9ee7051fad22eb1c44ed9
This commit is contained in:
Nikolay Mahotkin 2014-09-04 14:26:28 +04:00
parent bc3691a17b
commit 51a55e1f34
3 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class Workbooks(MistralBase):
self.mistral_client.workbooks.create("new_wb")
wbs_with_new_wb = self.mistral_client.workbooks.list()
self.assertEqual(len(wbs)+1, len(wbs_with_new_wb))
self.assertEqual(len(wbs) + 1, len(wbs_with_new_wb))
self.assertTrue(self.assert_item_in_list(
wbs_with_new_wb, name="new_wb"))

View File

@ -1,4 +1,4 @@
pep8==1.5.7
hacking>=0.9.2,<0.10
pyflakes==0.8.1
flake8==2.1.0
pylint==0.25.2

View File

@ -39,5 +39,6 @@ commands = bash tools/lintstack.sh
[flake8]
show-source = true
ignore = H803,H305,H405,H904,H101,H102,H201,H302,H306,H307
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools