Add hacking to the flake8 tests
* Fixing all rules will be in subsequent commits Change-Id: If972c22297a7c41b72a9ee7051fad22eb1c44ed9
This commit is contained in:
parent
bc3691a17b
commit
51a55e1f34
@ -12,7 +12,7 @@ class Workbooks(MistralBase):
|
|||||||
self.mistral_client.workbooks.create("new_wb")
|
self.mistral_client.workbooks.create("new_wb")
|
||||||
wbs_with_new_wb = self.mistral_client.workbooks.list()
|
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(
|
self.assertTrue(self.assert_item_in_list(
|
||||||
wbs_with_new_wb, name="new_wb"))
|
wbs_with_new_wb, name="new_wb"))
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
pep8==1.5.7
|
hacking>=0.9.2,<0.10
|
||||||
pyflakes==0.8.1
|
pyflakes==0.8.1
|
||||||
flake8==2.1.0
|
flake8==2.1.0
|
||||||
pylint==0.25.2
|
pylint==0.25.2
|
||||||
|
1
tox.ini
1
tox.ini
@ -39,5 +39,6 @@ commands = bash tools/lintstack.sh
|
|||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
show-source = true
|
show-source = true
|
||||||
|
ignore = H803,H305,H405,H904,H101,H102,H201,H302,H306,H307
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools
|
||||||
|
Loading…
Reference in New Issue
Block a user