1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

ruff: reformat python code

This commit is contained in:
Sylvestre Ledru 2025-03-18 19:16:58 +01:00
parent e61898897d
commit 663a9202e5
3 changed files with 3 additions and 5 deletions

View file

@ -38,7 +38,7 @@ if pass_d < 0:
)
# Check if all failing tests are intermittent based on the environment variable
only_intermittent = ONLY_INTERMITTENT.lower() == 'true'
only_intermittent = ONLY_INTERMITTENT.lower() == "true"
if only_intermittent:
print("::notice ::All failing tests are in the ignored intermittent list")

View file

@ -17,7 +17,7 @@ result_json = "result.json"
try:
urllib.request.urlretrieve(
"https://raw.githubusercontent.com/uutils/coreutils-tracking/main/gnu-full-result.json",
result_json
result_json,
)
except Exception as e:
print(f"Failed to download the file: {e}")

View file

@ -23,9 +23,7 @@ def config(name, val):
sizes = {}
for (strip, panic, opt, lto) in product(
STRIP_VALS, PANIC_VALS, OPT_LEVEL_VALS, LTO_VALS
):
for strip, panic, opt, lto in product(STRIP_VALS, PANIC_VALS, OPT_LEVEL_VALS, LTO_VALS):
if RECOMPILE:
cmd = [
"cargo",