Skip to content

Commit

Permalink
tools/codeformat.py: Fix ruff warnings.
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Mussared <[email protected]>
  • Loading branch information
jimmo authored and dpgeorge committed Jul 27, 2023
1 parent 5cdfe71 commit efa0402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/codeformat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit efa0402

Please sign in to comment.