Move type hint to satisfy Python 3.6, 3.7 interpreters (#31932)
This commit is contained in:
parent
d67ead5978
commit
20de47a1e2
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ class WindowsOs(OperatingSystem):
|
|||
extra_args = {}
|
||||
if sys.version_info[:3] >= (3, 6, 0):
|
||||
extra_args = {"encoding": "mbcs", "errors": "strict"}
|
||||
paths = subprocess.check_output(
|
||||
[ # type: ignore[call-overload] # novermin
|
||||
paths = subprocess.check_output( # type: ignore[call-overload] # novermin
|
||||
[
|
||||
os.path.join(root, "Microsoft Visual Studio", "Installer", "vswhere.exe"),
|
||||
"-prerelease",
|
||||
"-requires",
|
||||
|
|
Loading…
Reference in a new issue