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
|
@ -39,9 +39,9 @@ for files in types:
|
|||
list_of_files = sorted(tests, key=lambda x: os.stat(x).st_size)
|
||||
|
||||
|
||||
def show_list(l):
|
||||
def show_list(list_test):
|
||||
# Remove the factor tests and reverse the list (bigger first)
|
||||
tests = list(filter(lambda k: "factor" not in k, l))
|
||||
tests = list(filter(lambda k: "factor" not in k, list_test))
|
||||
|
||||
for f in reversed(tests):
|
||||
if contains_require_root(f):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue