diff --git a/qt/aqt/errors.py b/qt/aqt/errors.py index de73435d4..b6cbc2eb6 100644 --- a/qt/aqt/errors.py +++ b/qt/aqt/errors.py @@ -54,7 +54,7 @@ class ErrorHandler(QObject): def setTimer(self): # we can't create a timer from a different thread, so we post a # message to the object on the main thread - self.errorTimer.emit() + self.errorTimer.emit() # type: ignore def _setTimer(self): if not self.timer: diff --git a/qt/mypy.ini b/qt/mypy.ini index a39a1de9c..b6203b753 100644 --- a/qt/mypy.ini +++ b/qt/mypy.ini @@ -70,3 +70,5 @@ check_untyped_defs=true check_untyped_defs=true [mypy-aqt.models] check_untyped_defs=true +[mypy-aqt.errors] +check_untyped_defs=true