From e734d66aa15631adcd8a5d9b61f66c640737843d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 May 2021 16:56:12 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- bin/update_pythons.py | 4 ++-- test/utils.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/update_pythons.py b/bin/update_pythons.py index eb813344..c21b0823 100755 --- a/bin/update_pythons.py +++ b/bin/update_pythons.py @@ -165,11 +165,11 @@ class PyPyVersions: version = release["python_version"] identifier = f"pp{version.major}{version.minor}-macosx_x86_64" - (url,) = [ + (url,) = ( rf["download_url"] for rf in release["files"] if "" in rf["platform"] == "darwin" and rf["arch"] == "x64" - ] + ) return ConfigMacOS( identifier=identifier, diff --git a/test/utils.py b/test/utils.py index 136b26cb..4854d259 100644 --- a/test/utils.py +++ b/test/utils.py @@ -150,10 +150,10 @@ def expected_wheels( platform_tags = [ ".".join( - [ + f"{manylinux_version}_{architecture}" for manylinux_version in manylinux_versions - ] + ) for architecture in architectures ]