[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -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
@@ -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":
|
||||||
|
|||||||
@@ -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():
|
||||||
|
|||||||
Reference in New Issue
Block a user