diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e12a22db..4927f903 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,6 +22,8 @@ repos: - id: debug-statements - id: end-of-file-fixer - id: forbid-submodules + - id: requirements-txt-fixer + files: ^mypy-requirements.txt$ - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema diff --git a/mypy-requirements.txt b/mypy-requirements.txt index 56f4a91b..8443fc51 100644 --- a/mypy-requirements.txt +++ b/mypy-requirements.txt @@ -4,7 +4,7 @@ mypy==2.4.1 pyfakefs pytest pytest-mock -python-gnupg # untyped :( sigstore==4.6.0 types-paramiko +types-python-gnupg urllib3>=2 diff --git a/run_release.py b/run_release.py index 733fc861..2c0e717c 100755 --- a/run_release.py +++ b/run_release.py @@ -27,7 +27,7 @@ from typing import Any, cast import aiohttp -import gnupg # type: ignore[import-untyped] +import gnupg import paramiko import sigstore.models import sigstore.oidc