run mypy also against tests

This commit is contained in:
Matthias
2022-04-25 11:12:35 +02:00
parent fc118d0e95
commit 500fdc2759
5 changed files with 9 additions and 5 deletions

View File

@@ -110,7 +110,7 @@ class IStrategy(ABC, HyperStrategyMixin):
# Class level variables (intentional) containing
# the dataprovider (dp) (access to other candles, historic data, ...)
# and wallets - access to the current balance.
dp: Optional[DataProvider]
dp: DataProvider
wallets: Optional[Wallets] = None
# Filled from configuration
stake_currency: str