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:
parent
e61898897d
commit
663a9202e5
3 changed files with 3 additions and 5 deletions
|
@ -38,7 +38,7 @@ if pass_d < 0:
|
||||||
)
|
)
|
||||||
|
|
||||||
# Check if all failing tests are intermittent based on the environment variable
|
# 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:
|
if only_intermittent:
|
||||||
print("::notice ::All failing tests are in the ignored intermittent list")
|
print("::notice ::All failing tests are in the ignored intermittent list")
|
||||||
|
|
|
@ -17,7 +17,7 @@ result_json = "result.json"
|
||||||
try:
|
try:
|
||||||
urllib.request.urlretrieve(
|
urllib.request.urlretrieve(
|
||||||
"https://raw.githubusercontent.com/uutils/coreutils-tracking/main/gnu-full-result.json",
|
"https://raw.githubusercontent.com/uutils/coreutils-tracking/main/gnu-full-result.json",
|
||||||
result_json
|
result_json,
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Failed to download the file: {e}")
|
print(f"Failed to download the file: {e}")
|
||||||
|
|
|
@ -23,9 +23,7 @@ def config(name, val):
|
||||||
|
|
||||||
sizes = {}
|
sizes = {}
|
||||||
|
|
||||||
for (strip, panic, opt, lto) in product(
|
for strip, panic, opt, lto in product(STRIP_VALS, PANIC_VALS, OPT_LEVEL_VALS, LTO_VALS):
|
||||||
STRIP_VALS, PANIC_VALS, OPT_LEVEL_VALS, LTO_VALS
|
|
||||||
):
|
|
||||||
if RECOMPILE:
|
if RECOMPILE:
|
||||||
cmd = [
|
cmd = [
|
||||||
"cargo",
|
"cargo",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue