Skip to content

Commit

Permalink
chore: remove '# type: ignore' for new mypy version
Browse files Browse the repository at this point in the history
mypy 0.920 now understands the type of
'http.client.HTTPConnection.debuglevel' so we remove the
'type: ignore' comment to make mypy pass
  • Loading branch information
JohnVillalovos committed Dec 20, 2021
1 parent a519b2f commit 34a5f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/client.py
Expand Up @@ -425,7 +425,7 @@ def enable_debug(self) -> None:
import logging
from http.client import HTTPConnection # noqa

HTTPConnection.debuglevel = 1 # type: ignore
HTTPConnection.debuglevel = 1
logging.basicConfig()
logging.getLogger().setLevel(logging.DEBUG)
requests_log = logging.getLogger("requests.packages.urllib3")
Expand Down

0 comments on commit 34a5f22

Please sign in to comment.