Skip to content

Commit 23f7519

Browse files
committed
ruff: reformat python code
1 parent 47b3bd0 commit 23f7519

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

util/compare_gnu_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
)
3939

4040
# Check if all failing tests are intermittent based on the environment variable
41-
only_intermittent = ONLY_INTERMITTENT.lower() == 'true'
41+
only_intermittent = ONLY_INTERMITTENT.lower() == "true"
4242

4343
if only_intermittent:
4444
print("::notice ::All failing tests are in the ignored intermittent list")

util/remaining-gnu-error.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
try:
1818
urllib.request.urlretrieve(
1919
"https://raw.githubusercontent.com/uutils/coreutils-tracking/main/gnu-full-result.json",
20-
result_json
20+
result_json,
2121
)
2222
except Exception as e:
2323
print(f"Failed to download the file: {e}")

util/size-experiment.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ def config(name, val):
2323

2424
sizes = {}
2525

26-
for (strip, panic, opt, lto) in product(
27-
STRIP_VALS, PANIC_VALS, OPT_LEVEL_VALS, LTO_VALS
28-
):
26+
for strip, panic, opt, lto in product(STRIP_VALS, PANIC_VALS, OPT_LEVEL_VALS, LTO_VALS):
2927
if RECOMPILE:
3028
cmd = [
3129
"cargo",

0 commit comments

Comments
 (0)