Follow PEP 484 - no implicit optionals

This commit is contained in:
Matthias
2023-01-21 15:01:56 +01:00
parent bb355cfac5
commit 8108a48f39
24 changed files with 80 additions and 67 deletions

View File

@@ -26,7 +26,7 @@ class Worker:
Freqtradebot worker class
"""
def __init__(self, args: Dict[str, Any], config: Config = None) -> None:
def __init__(self, args: Dict[str, Any], config: Optional[Config] = None) -> None:
"""
Init all variables and objects the bot needs to work
"""