Skip to content

Commit d0e3848

Browse files
committed
codeformat: Exclude specified files even from commandline, for pre-commit
1 parent cc1dd73 commit d0e3848

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/codeformat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def main():
142142
# Expand the globs passed on the command line, or use the default globs above.
143143
files = []
144144
if args.files:
145-
files = list_files(args.files)
145+
files = list_files(args.files, EXCLUSIONS)
146146
else:
147147
files = list_files(PATHS, EXCLUSIONS, TOP)
148148

0 commit comments

Comments
 (0)