Skip to content

Commit

Permalink
Fix Black formatting in ./admin/get_merged_prs.py (#2954)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysommer authored Oct 28, 2024
1 parent 03b2cfe commit b0d7a7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion admin/get_merged_prs.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
print(f"Getting {url}")
with urllib.request.urlopen(url) as response:
response_text = response.read()
link_headers = response.info()["link"].split(",") if response.info()["link"] is not None else None
link_headers = (
response.info()["link"].split(",")
if response.info()["link"] is not None
else None
)

json_data = json.loads(response_text)
ITEMS.extend(json_data["items"])
Expand Down

0 comments on commit b0d7a7d

Please sign in to comment.