mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
fix ruff warnings
This commit is contained in:
parent
663a9202e5
commit
b1c3175387
5 changed files with 12 additions and 9 deletions
|
@ -75,8 +75,9 @@ collect_diff(2, "opt-level")
|
|||
collect_diff(3, "lto")
|
||||
|
||||
|
||||
def analyze(l):
|
||||
return f"MIN: {float(min(l)):.3}, AVG: {float(sum(l)/len(l)):.3}, MAX: {float(max(l)):.3}"
|
||||
def analyze(change):
|
||||
return f"""MIN: {float(min(change)):.3},
|
||||
AVG: {float(sum(change) / len(change)):.3}, MAX: {float(max(change)):.3}"""
|
||||
|
||||
|
||||
print("Absolute changes")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue