Ignore most of the new hacking 0.9.2 rules

So we can update requriements.txt.  But fix a couple of easy ones:
* Fix E251 (1 occurrance)
* Fix E131 (1 occurrance)

Change-Id: I62aaa423aa6da9e9f0ca026ec586b51cc6a6df03
This commit is contained in:
Dean Troyer 2014-06-13 16:56:32 -05:00
parent 497a38903c
commit 0059f045a9
3 changed files with 5 additions and 4 deletions

View File

@ -36,7 +36,7 @@ class ListUsage(lister.Lister):
metavar="<start>",
default=None,
help="Usage range start date, ex 2012-01-20"
" (default: 4 weeks ago)."
" (default: 4 weeks ago)."
)
parser.add_argument(
"--end",

View File

@ -107,8 +107,9 @@ class TestFindResource(test_utils.TestCase):
def test_find_resource_find_not_found(self):
self.manager.get = mock.Mock(side_effect=Exception('Boom!'))
self.manager.find = mock.Mock(side_effect=
exceptions.NotFound(404, "2"))
self.manager.find = mock.Mock(
side_effect=exceptions.NotFound(404, "2")
)
result = self.assertRaises(exceptions.CommandError,
utils.find_resource,
self.manager,

View File

@ -24,6 +24,6 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
downloadcache = ~/cache/pip
[flake8]
ignore = E126,E202,W602,H302,H402
ignore = E126,E202,W602,H302,H402,E265,H305,H307,H405,H904
show-source = True
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools