From 9d7422e112214a3b76ba97b08d3090545d0dfd2c Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 16 May 2021 19:58:29 +0100 Subject: fixed type hint --- datamaps/plugins/dft/master.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/datamaps/plugins/dft/master.py b/datamaps/plugins/dft/master.py index ac893b8..04dfc19 100644 --- a/datamaps/plugins/dft/master.py +++ b/datamaps/plugins/dft/master.py @@ -151,7 +151,9 @@ class Master: ..etc """ - def __init__(self, quarter: Quarter, path: str, declared_month=None) -> None: + def __init__( + self, quarter: Quarter, path: str, declared_month: Optional[int] = None + ) -> None: self._quarter = quarter self._declared_month = declared_month self.path = path -- cgit v1.2.3