Skip to content

Commit a4e76eb

Browse files
authored
Merge pull request #1917 from python-gitlab/renovate/major-black
chore(deps): update black to v22 (major)
2 parents 71ebee4 + 93d4403 commit a4e76eb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ default_language_version:
33

44
repos:
55
- repo: https://github.com/psf/black
6-
rev: 21.12b0
6+
rev: 22.1.0
77
hooks:
88
- id: black
99
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook

gitlab/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ def http_request(
701701
result.status_code in [500, 502, 503, 504] and retry_transient_errors
702702
):
703703
if max_retries == -1 or cur_retries < max_retries:
704-
wait_time = 2 ** cur_retries * 0.1
704+
wait_time = 2**cur_retries * 0.1
705705
if "Retry-After" in result.headers:
706706
wait_time = int(result.headers["Retry-After"])
707707
cur_retries += 1

requirements-lint.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
argcomplete==2.0.0
2-
black==21.12b0
2+
black==22.1.0
33
flake8==4.0.1
44
isort==5.10.1
55
mypy==0.931

0 commit comments

Comments
 (0)