Fix flake adn mypy
This commit is contained in:
parent
26187ef6c7
commit
3360e777a1
@ -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 \
|
||||||
|
@ -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__)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user