From a519b2ffe9c8a4bb42d6add5117caecc4bf6ec66 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 16 Dec 2021 01:39:17 +0000 Subject: [PATCH 1/2] chore(deps): update dependency mypy to v0.920 --- requirements-lint.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 34a5f22c81590349645ce7ba46d4153d6de07d8c Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Thu, 16 Dec 2021 20:16:44 -0800 Subject: [PATCH 2/2] 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") 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