flake8 compliance

This commit is contained in:
Nullart
2018-06-14 12:37:44 +08:00
parent dc03b41c68
commit 79dd0eb104
5 changed files with 30 additions and 23 deletions

View File

@@ -59,8 +59,8 @@ CONF_SCHEMA = {
'type': 'object',
'properties': {
'use_book_order': {'type': 'boolean'},
'buy': {'type': 'number', 'minimum':3},
'sell': {'type': 'number', 'minimum':10}
'buy': {'type': 'number', 'minimum': 3},
'sell': {'type': 'number', 'minimum': 10}
}
},
'bid_strategy': {
@@ -73,7 +73,7 @@ CONF_SCHEMA = {
'exclusiveMaximum': False
},
'use_book_order': {'type': 'boolean'},
'book_order_top': {'type': 'number', 'maximum':20,'minimum':1}
'book_order_top': {'type': 'number', 'maximum': 20, 'minimum': 1}
},
'required': ['ask_last_balance']
},
@@ -81,8 +81,8 @@ CONF_SCHEMA = {
'type': 'object',
'properties': {
'use_book_order': {'type': 'boolean'},
'book_order_min': {'type': 'number', 'minimum':1},
'book_order_max': {'type': 'number', 'minimum':1}
'book_order_min': {'type': 'number', 'minimum': 1},
'book_order_max': {'type': 'number', 'minimum': 1}
}
},
'exchange': {'$ref': '#/definitions/exchange'},