code: mypy comply

This commit is contained in:
Mark Joshwel 2023-06-16 05:58:16 +00:00
parent 2a95265e0d
commit 5c56ce3dd4

View file

@ -242,7 +242,7 @@ def surplus(
location["address"].get("country"),
]
unique = OrderedDict()
unique: OrderedDict = OrderedDict()
for line in text:
unique.update({line: None})
@ -291,7 +291,7 @@ def parse_query(
locality = locality.strip().strip(",").strip()
if debug:
stderr.wtite(f"debug: {pcode=}, {locality=}")
stderr.write(f"debug: {pcode=}, {locality=}\n")
return True, Localcode(code=pcode, locality=locality)