Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 28, 2023
1 parent 3b95f4a commit 46e66ec
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions bin/update_pythons.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,7 @@ def __init__(self):
if m:
release["python_version"] = Version(m.group(1))

self.releases = [
r
for r in releases
if "graalpy_version" in r and "python_version" in r
]
self.releases = [r for r in releases if "graalpy_version" in r and "python_version" in r]

def update_version(self, identifier: str, spec: Specifier) -> AnyConfig:
if "x86_64" in identifier:
Expand Down Expand Up @@ -162,7 +158,7 @@ def update_version(self, identifier: str, spec: Specifier) -> AnyConfig:
config = ConfigLinux
platform = "linux"
else:
msg = f"GraalPy supports on macOS and Linux so far!"
msg = "GraalPy supports on macOS and Linux so far!"
raise RuntimeError(msg)

arch = "amd64" if arch == "x86_64" else "aarch64"
Expand Down

0 comments on commit 46e66ec

Please sign in to comment.