diff options
author | John L. Villalovos <john@sodarock.com> | 2023-02-06 13:38:52 -0800 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2023-02-07 01:01:23 +0100 |
commit | 9c2465759386b60a478bd8f43e967182ed97d39d (patch) | |
tree | 572861f163e29bf434f1735e74d9e45e667beca9 | |
parent | 5b8744e9c2241e0fdcdef03184afcb48effea90f (diff) | |
download | gitlab-9c2465759386b60a478bd8f43e967182ed97d39d.tar.gz |
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.
-rw-r--r-- | gitlab/cli.py | 2 | ||||
-rw-r--r-- | requirements-lint.txt | 4 | ||||
-rw-r--r-- | requirements-test.txt | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gitlab/cli.py b/gitlab/cli.py index 2495f0a..c124e74 100644 --- a/gitlab/cli.py +++ b/gitlab/cli.py @@ -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") diff --git a/requirements-lint.txt b/requirements-lint.txt index d65e06d..4501114 100644 --- a/requirements-lint.txt +++ b/requirements-lint.txt @@ -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 diff --git a/requirements-test.txt b/requirements-test.txt index 6d190db..ec25ee7 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -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 |