From 7e4c15ee4d909fd68f0498d8e01304145cdaa7ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 1 Feb 2021 13:45:53 +0100 Subject: [PATCH] chg: Make mypy happy --- pymisp/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pymisp/api.py b/pymisp/api.py index 48ea603..41647c5 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -15,7 +15,7 @@ from uuid import UUID import warnings import sys import copy -import urllib3 +import urllib3 # type: ignore from io import BytesIO, StringIO from . import __version__, everything_broken @@ -103,7 +103,7 @@ def brotli_supported() -> bool: # pybrotli is an extra package required by urllib3 for brotli support try: - import brotli + import brotli # type: ignore return True except ImportError: return False