From 34a5f22c81590349645ce7ba46d4153d6de07d8c Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Thu, 16 Dec 2021 20:16:44 -0800 Subject: [PATCH] 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 --- gitlab/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab/client.py b/gitlab/client.py index d3fdaab4e..97eae4dbe 100644 --- a/gitlab/client.py +++ b/gitlab/client.py @@ -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")