Skip to content

Commit 0fb6d36

Browse files
chore: remove '# type: ignore' for new mypy version
mypy 0.920 now understands the type of 'http.client.HTTPConnection.debuglevel' so we remove the 'type: ignore' comment to make mypy pass
1 parent b6278a8 commit 0fb6d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def enable_debug(self) -> None:
425425
import logging
426426
from http.client import HTTPConnection # noqa
427427

428-
HTTPConnection.debuglevel = 1 # type: ignore
428+
HTTPConnection.debuglevel = 1
429429
logging.basicConfig()
430430
logging.getLogger().setLevel(logging.DEBUG)
431431
requests_log = logging.getLogger("requests.packages.urllib3")

0 commit comments

Comments
 (0)