Skip to content

Commit

Permalink
add type annotation
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
nulano and hugovk authored Nov 17, 2023
1 parent af83f67 commit 7410d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winbuild/build_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def cmd_msbuild(


# 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")
Expand Down

0 comments on commit 7410d40

Please sign in to comment.