summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pre-commit-config.yaml6
-rw-r--r--gitlab/client.py2
-rw-r--r--requirements-lint.txt2
3 files changed, 5 insertions, 5 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 22d7622..f2485d5 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,7 +3,7 @@ default_language_version:
repos:
- repo: https://github.com/psf/black
- rev: 20.8b1
+ rev: 21.12b0
hooks:
- id: black
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
@@ -13,11 +13,11 @@ repos:
additional_dependencies: ['@commitlint/config-conventional']
stages: [commit-msg]
- repo: https://github.com/pycqa/flake8
- rev: 3.9.2
+ rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
- rev: 5.9.3
+ rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/pycqa/pylint
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")
diff --git a/requirements-lint.txt b/requirements-lint.txt
index d1a8e63..c9f329e 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