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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy