[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2021-05-23 23:46:46 +02:00
committed by mayeut
parent 1a6b9d2db3
commit acbfce04e0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ def install_cpython(version: str, arch: str, nuget: Path) -> Path:
def install_pypy(version: str, arch: str, url: str) -> Path: def install_pypy(version: str, arch: str, url: str) -> Path:
assert arch == '64' and 'win64' in url assert arch == "64" and "win64" in url
# Inside the PyPy zip file is a directory with the same name # Inside the PyPy zip file is a directory with the same name
zip_filename = url.rsplit("/", 1)[-1] zip_filename = url.rsplit("/", 1)[-1]
extension = ".zip" extension = ".zip"
+1 -1
View File
@@ -157,7 +157,7 @@ def expected_wheels(
if python_abi_tag.startswith("cp"): if python_abi_tag.startswith("cp"):
platform_tags = ["win32", "win_amd64"] platform_tags = ["win32", "win_amd64"]
else: else:
platform_tags = ['win_amd64'] platform_tags = ["win_amd64"]
elif platform == "macos": elif platform == "macos":
if python_abi_tag == "cp39-cp39" and machine_arch == "arm64": if python_abi_tag == "cp39-cp39" and machine_arch == "arm64":
+1 -1
View File
@@ -92,7 +92,7 @@ def test_build_limited_python():
assert not build_selector("cp36-win32") assert not build_selector("cp36-win32")
assert build_selector("cp37-win32") assert build_selector("cp37-win32")
assert build_selector("cp38-win32") assert build_selector("cp38-win32")
assert build_selector('pp37-win_amd64') assert build_selector("pp37-win_amd64")
def test_build_limited_python_partial(): def test_build_limited_python_partial():