__init__ must return None to please mypy

This commit is contained in:
Janne Sinivirta 2018-07-17 10:47:15 +03:00
parent 78af4bc785
commit dbc3874b4f

View File

@ -42,7 +42,7 @@ class IStrategy(ABC):
stoploss: float
ticker_interval: str
def __init__(self, config: dict):
def __init__(self, config: dict) -> None:
self.config = config
@abstractmethod