fix last typechecks

This commit is contained in:
xmatthias
2018-06-02 13:59:35 +02:00
parent 32300f6d5f
commit 0a595190a3
3 changed files with 5 additions and 4 deletions

View File

@@ -211,7 +211,8 @@ class Arguments(object):
self.hyperopt_options(hyperopt_cmd)
@staticmethod
def parse_timerange(text: str) -> Optional[Tuple[Tuple, Optional[int], Optional[int]]]:
def parse_timerange(text: Optional[str]) -> Optional[Tuple[Tuple,
Optional[int], Optional[int]]]:
"""
Parse the value of the argument --timerange to determine what is the range desired
:param text: value from --timerange