Add type hint to updater.py
@@ -27,6 +27,7 @@ from logging import getLogger
import patch
+from aqt.archives import TargetConfig
from aqt.exceptions import UpdaterError
from aqt.helper import Settings
from aqt.metadata import SimpleSpec, Version
@@ -250,7 +251,7 @@ class Updater:
self._patch_textfile(target_qt_conf, "HostData=target", new_hostdata)
@classmethod
- def update(cls, target, base_dir: str):
+ def update(cls, target: TargetConfig, base_dir: str):
"""
Make Qt configuration files, qt.conf and qtconfig.pri.
And update pkgconfig and patch Qt5Core and qmake
