add type annotation

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Ondrej Baranovič 2023-11-17 16:33:20 +01:00 committed by GitHub
parent af83f679e8
commit 7410d40f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -375,7 +375,7 @@ DEPS = {
# based on distutils._msvccompiler from CPython 3.7.4
def find_msvs(architecture) -> dict[str, str] | None:
def find_msvs(architecture: str) -> dict[str, str] | None:
root = os.environ.get("ProgramFiles(x86)") or os.environ.get("ProgramFiles")
if not root:
print("Program Files not found")