Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Aug 7, 2024
1 parent d657d62 commit 88952bb
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions run_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -908,14 +908,16 @@ def purge_the_cdn(db: DbfilenameShelf) -> None:
f"https://www.python.org/ftp/python/{normalized_release}/Python-{db['release']}.tar.xz",
]
for source_url in source_urls:

Check warning on line 910 in run_release.py

View check run for this annotation

Codecov / codecov/patch

run_release.py#L905-L910

Added lines #L905 - L910 were not covered by tests
urls.extend([
f"{source_url}",
f"{source_url}.asc",
f"{source_url}.crt",
f"{source_url}.sig",
f"{source_url}.sigstore",
f"{source_url}.spdx.json",
])
urls.extend(
[
f"{source_url}",

Check warning on line 913 in run_release.py

View check run for this annotation

Codecov / codecov/patch

run_release.py#L912-L913

Added lines #L912 - L913 were not covered by tests
f"{source_url}.asc",
f"{source_url}.crt",
f"{source_url}.sig",
f"{source_url}.sigstore",

Check warning on line 917 in run_release.py

View check run for this annotation

Codecov / codecov/patch

run_release.py#L916-L917

Added lines #L916 - L917 were not covered by tests
f"{source_url}.spdx.json",
]

Check warning on line 919 in run_release.py

View check run for this annotation

Codecov / codecov/patch

run_release.py#L919

Added line #L919 was not covered by tests
)

for url in urls:
req = urllib.request.Request(url=url, headers=headers, method="PURGE")
Expand Down

0 comments on commit 88952bb

Please sign in to comment.