Skip to content

Commit

Permalink
Merge pull request #186 from YunoHost/actions/black
Browse files Browse the repository at this point in the history
Format Python code with Black
  • Loading branch information
alexAubin authored Nov 28, 2024
2 parents 80df0a1 + d822b82 commit 5a24bd9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/curl_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ def test(
parsed = urlparse(sheet)
if parsed.netloc != "" and parsed.netloc != domain:
continue
assets_to_check.append(parsed._replace(netloc=domain)._replace(scheme="https").geturl())
assets_to_check.append(
parsed._replace(netloc=domain)._replace(scheme="https").geturl()
)
break

js = html.find_all("script", src=True)
Expand All @@ -218,7 +220,9 @@ def test(
parsed = urlparse(js)
if parsed.netloc != "" and parsed.netloc != domain:
continue
assets_to_check.append(parsed._replace(netloc=domain)._replace(scheme="https").geturl())
assets_to_check.append(
parsed._replace(netloc=domain)._replace(scheme="https").geturl()
)
break

if not assets_to_check:
Expand Down

0 comments on commit 5a24bd9

Please sign in to comment.