Skip to content

Commit 9c24657

Browse files
JohnVillalovosnejch
authored andcommitted
chore(deps): update mypy (1.0.0) and responses (0.22.0)
Update the `requirements-*` files. In order to update mypy==1.0.0 we need to also update responses==0.22.0 Fix one issue found by `mypy` Leaving updates for `precommit` to be done in a separate commit by someone.
1 parent 5b8744e commit 9c24657

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gitlab/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def main() -> None:
313313
if "--help" in sys.argv or "-h" in sys.argv:
314314
parser.print_help()
315315
sys.exit(0)
316-
sys.exit(e)
316+
sys.exit(str(e))
317317
# We only support v4 API at this time
318318
if config.api_version not in ("4",): # dead code # pragma: no cover
319319
raise ModuleNotFoundError(f"gitlab.v{config.api_version}.cli")

requirements-lint.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ black==23.1.0
44
commitizen==2.40.0
55
flake8==5.0.4
66
isort==5.10.1
7-
mypy==0.981
7+
mypy==1.0.0
88
pylint==2.15.3
99
pytest==7.1.3
10-
responses==0.21.0
10+
responses==0.22.0
1111
types-PyYAML==6.0.12
1212
types-requests==2.28.11.2
1313
types-setuptools==65.5.0.1

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ pytest-cov==4.0.0
66
pytest-github-actions-annotate-failures==0.1.7
77
pytest==7.1.3
88
PyYaml==5.4.1
9-
responses==0.21.0
9+
responses==0.22.0

0 commit comments

Comments
 (0)