Move type hint to satisfy Python 3.6, 3.7 interpreters (#31932)

This commit is contained in:
Chris Green 2022-08-04 15:48:05 -05:00 committed by GitHub
parent d67ead5978
commit 20de47a1e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",