Enable check for E131

* E131 continuation line unaligned for hanging indent

Change-Id: I719d5bcd1b51896c947e637f6dfce2e1f1a6bd2b
This commit is contained in:
Christian Berendt
2014-07-25 19:27:19 +02:00
parent aae7ca2f9b
commit 68f357d963
5 changed files with 46 additions and 40 deletions

View File

@@ -38,7 +38,10 @@ class V1(base.Fixture):
'hypervisors': [
{
'id': 1234,
'service': {'id': 1, 'host': 'compute1'},
'service': {
'id': 1,
'host': 'compute1',
},
'vcpus': 4,
'memory_mb': 10 * 1024,
'local_gb': 250,
@@ -57,7 +60,10 @@ class V1(base.Fixture):
},
{
'id': 2,
'service': {'id': 2, 'host': 'compute2'},
'service': {
'id': 2,
'host': 'compute2',
},
'vcpus': 4,
'memory_mb': 10 * 1024,
'local_gb': 250,

View File

@@ -27,7 +27,7 @@ downloadcache = ~/cache/pip
[flake8]
# TODO fix following rules from hacking 0.9
# E131,E265,H402,H405,H904
ignore = E12,E131,E265,F811,F821,H302,H402,H404,H405,H904
# E265,H402,H405,H904
ignore = E12,E265,F811,F821,H302,H402,H404,H405,H904
show-source = True
exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build