Skip to content

Commit

Permalink
chore(deps): update mypy (1.0.0) and responses (0.22.0)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JohnVillalovos authored and nejch committed Feb 7, 2023
1 parent 5b8744e commit 9c24657
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gitlab/cli.py
Expand Up @@ -313,7 +313,7 @@ def main() -> None:
if "--help" in sys.argv or "-h" in sys.argv:
parser.print_help()
sys.exit(0)
sys.exit(e)
sys.exit(str(e))
# We only support v4 API at this time
if config.api_version not in ("4",): # dead code # pragma: no cover
raise ModuleNotFoundError(f"gitlab.v{config.api_version}.cli")
Expand Down
4 changes: 2 additions & 2 deletions requirements-lint.txt
Expand Up @@ -4,10 +4,10 @@ black==23.1.0
commitizen==2.40.0
flake8==5.0.4
isort==5.10.1
mypy==0.981
mypy==1.0.0
pylint==2.15.3
pytest==7.1.3
responses==0.21.0
responses==0.22.0
types-PyYAML==6.0.12
types-requests==2.28.11.2
types-setuptools==65.5.0.1
2 changes: 1 addition & 1 deletion requirements-test.txt
Expand Up @@ -6,4 +6,4 @@ pytest-cov==4.0.0
pytest-github-actions-annotate-failures==0.1.7
pytest==7.1.3
PyYaml==5.4.1
responses==0.21.0
responses==0.22.0

0 comments on commit 9c24657

Please sign in to comment.