Skip to content

Commit ebfeb0e

Browse files
committed
fix static code check
1 parent 95c3991 commit ebfeb0e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.claude/scripts/extract_microshift_version.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
python3 extract_microshift_version.py <prow_url> <scenario>
1010
1111
Arguments:
12-
prow_url: The Prow CI job URL (e.g., "https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_microshift/5703/pull-ci-openshift-microshift-release-4.20-e2e-aws-tests-bootc-release-arm/1990417342856695808")
13-
scenario: Scenario name (e.g., "el96-lrel@backups")
12+
prow_url: The Prow CI job URL
13+
e.g.: "https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_microshift/5703/pull-ci-openshift-microshift-main-e2e-aws-tests-bootc-release/1990417342856695808"
14+
scenario: Scenario name
15+
e.g.: "el96-lrel@backups"
1416
1517
Output:
1618
JSON object with:
@@ -69,7 +71,7 @@ def fetch_url(url):
6971
try:
7072
# Validate URL scheme
7173
if not url.startswith('https://'):
72-
return None, f"Invalid URL scheme. Only HTTPS URLs are supported."
74+
return None, "Invalid URL scheme. Only HTTPS URLs are supported."
7375

7476
# Create SSL context that doesn't verify certificates
7577
ssl_context = ssl.create_default_context()

0 commit comments

Comments
 (0)