tools/codeformat.py: Fix ruff warnings.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
pull/706/head
Jim Mussared 2023-07-25 12:46:49 +10:00 zatwierdzone przez Damien George
rodzic 5cdfe71536
commit efa0402846
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -76,7 +76,7 @@ def main():
# Filter against the default list of files. This is a little fiddly
# because we need to apply both the inclusion globs given in PATHS
# as well as the EXCLUSIONS, and use absolute paths
files = set(os.path.abspath(f) for f in files)
files = {os.path.abspath(f) for f in files}
all_files = set(list_files(PATHS, EXCLUSIONS, TOP))
if args.v: # In verbose mode, log any files we're skipping
for f in files - all_files: