From ea99231f0355f5507107c75c2e3abb08fe266885 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Tue, 15 Aug 2023 23:01:09 +0200 Subject: [PATCH] added type annotation. passed mypy --- dyn_gandi/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dyn_gandi/main.py b/dyn_gandi/main.py index b314977..67aadc1 100644 --- a/dyn_gandi/main.py +++ b/dyn_gandi/main.py @@ -101,8 +101,8 @@ def renewRecords(api: dict[str, dict[str, list[str]]], current_ip: str, log: Cal def parseArgv(argv: list[str]) -> dict[str, list[str]]: - cli_options = {} - buffer = None + cli_options: dict = {} + buffer: str = '' for arg in argv: if arg.startswith('--'):