summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-12-16 20:16:44 -0800
committerJohn L. Villalovos <john@sodarock.com>2021-12-20 15:48:49 -0800
commit34a5f22c81590349645ce7ba46d4153d6de07d8c (patch)
tree43757ade49fd59f90ddbd4dacd7e3b0ef5ece7fc
parenta519b2ffe9c8a4bb42d6add5117caecc4bf6ec66 (diff)
downloadgitlab-renovate/mypy-0.x.tar.gz
chore: remove '# type: ignore' for new mypy versionrenovate/mypy-0.x
mypy 0.920 now understands the type of 'http.client.HTTPConnection.debuglevel' so we remove the 'type: ignore' comment to make mypy pass
-rw-r--r--gitlab/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/client.py b/gitlab/client.py
index d3fdaab..97eae4d 100644
--- a/gitlab/client.py
+++ b/gitlab/client.py
@@ -425,7 +425,7 @@ class Gitlab(object):
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")