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") diff --git a/requirements-lint.txt b/requirements-lint.txt index d1a8e6361..c9f329efa 100644 --- a/requirements-lint.txt +++ b/requirements-lint.txt @@ -2,7 +2,7 @@ argcomplete==1.12.3 black==21.12b0 flake8==4.0.1 isort==5.10.1 -mypy==0.910 +mypy==0.920 pylint==2.12.2 pytest==6.2.5 types-PyYAML==6.0.1