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