Fix flake adn mypy

This commit is contained in:
Matthias 2018-12-03 19:29:35 +01:00
parent 26187ef6c7
commit 3360e777a1
3 changed files with 4 additions and 4 deletions

View File

@ -60,10 +60,10 @@ class FreqtradeBot(object):
self.exchange = Exchange(self.config) self.exchange = Exchange(self.config)
self.wallets = Wallets(self.exchange) self.wallets = Wallets(self.exchange)
if self.config.get('dynamic_whitelist', None): if self.config.get('dynamic_whitelist', None):
self.pairlists = VolumePairList(self, self.config) self.pairlists: StaticPairList = VolumePairList(self, self.config)
else: else:
self.pairlists = StaticPairList(self, self.config) self.pairlists: StaticPairList = StaticPairList(self, self.config)
# Initializing Edge only if enabled # Initializing Edge only if enabled
self.edge = Edge(self.config, self.exchange, self.strategy) if \ self.edge = Edge(self.config, self.exchange, self.strategy) if \

View File

@ -5,7 +5,7 @@ Provides lists as configured in config.json
""" """
import logging import logging
from typing import List, Optional from typing import List
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)