Skip to content

Commit 077602e

Browse files
authored
Merge pull request #2187 from rogdex24/develop
verify_release: PEP 484 compliant annotations - Issue #2171
2 parents 7f4ae24 + 21ed19c commit 077602e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

verify_release

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import subprocess
1616
import sys
1717
from filecmp import cmp
1818
from tempfile import TemporaryDirectory
19+
from typing import Optional
1920

2021
try:
2122
import build as _ # type: ignore
@@ -141,7 +142,7 @@ def verify_pypi_release(version: str, compare_dir: str) -> bool:
141142

142143

143144
def sign_release_artifacts(
144-
version: str, build_dir: str, key_id: str = None
145+
version: str, build_dir: str, key_id: Optional[str] = None
145146
) -> None:
146147
"""Sign built release artifacts with gpg and write signature files to cwd"""
147148
sdist = f"{PYPI_PROJECT}-{version}.tar.gz"

0 commit comments

Comments
 (0)