mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix mypy violations
This commit is contained in:
parent
6c1c8948cb
commit
710ddb3880
@ -41,7 +41,7 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
try:
|
try:
|
||||||
# for Debian-jessie
|
# for Debian-jessie
|
||||||
from urllib3.exceptions import InsecurePlatformWarning
|
from urllib3.exceptions import InsecurePlatformWarning # type: ignore
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# for requests < 2.4.0
|
# for requests < 2.4.0
|
||||||
InsecurePlatformWarning = None
|
InsecurePlatformWarning = None
|
||||||
|
Loading…
Reference in New Issue
Block a user