added type annotation. passed mypy
This commit is contained in:
parent
7eb2ab7fe3
commit
ea99231f03
@ -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('--'):
|
||||
|
Loading…
Reference in New Issue
Block a user