chg: Make mypy happy

pull/700/head
Raphaël Vinot 2021-02-01 13:45:53 +01:00
parent 3494e38987
commit 7e4c15ee4d
1 changed files with 2 additions and 2 deletions

View File

@ -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