Enable check for E131
* E131 continuation line unaligned for hanging indent Change-Id: I719d5bcd1b51896c947e637f6dfce2e1f1a6bd2b
This commit is contained in:
@@ -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,
|
||||
|
4
tox.ini
4
tox.ini
@@ -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
|
||||
|
Reference in New Issue
Block a user