From da77f77777b8106b94e9c793e4a68f2a42941c2e Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sat, 19 Feb 2022 16:11:04 -0600 Subject: [PATCH] Fixed type hinting stuff --- .gitlab-ci.yml | 2 +- updater/wxupdater.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2376fd7..27352ab 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ test:mipy: image: python:3.7 interruptible: true script: - - 'pip install --upgrade mypy pytest' + - 'pip install --upgrade mypy pytest types-requests' - 'pip install --upgrade -r requirements.txt' - 'mypy updater' only: diff --git a/updater/wxupdater.py b/updater/wxupdater.py index 916c53d..9afd87f 100644 --- a/updater/wxupdater.py +++ b/updater/wxupdater.py @@ -33,7 +33,7 @@ import wx # type: ignore import logging from typing import Optional, Any, cast from pubsub import pub # type: ignore -from pubsub.core.topicexc import TopicNameError +from pubsub.core.topicexc import TopicNameError # type: ignore from platform_utils import paths # type: ignore from . import core, utils