From fa87d85708331ad45f28906217f94937bae474fe Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 1 Mar 2022 01:45:08 +1100 Subject: Fix (some) mypy things (#996) * Fix mypy things * Fix flake8 Co-authored-by: Daniel Girtler --- archinstall/lib/translation.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'archinstall/lib/translation.py') diff --git a/archinstall/lib/translation.py b/archinstall/lib/translation.py index 767d6d36..74ffd691 100644 --- a/archinstall/lib/translation.py +++ b/archinstall/lib/translation.py @@ -5,9 +5,12 @@ import os import gettext from pathlib import Path -from typing import List, Dict +from typing import List, Dict, Any, TYPE_CHECKING from .exceptions import TranslationError +if TYPE_CHECKING: + _: Any + class Languages: def __init__(self): -- cgit v1.2.3-54-g00ecf