codeformat: Exclude specified files even from commandline, for pre-commit
This commit is contained in:
parent
cc1dd73e94
commit
d0e3848b24
@ -142,7 +142,7 @@ def main():
|
||||
# Expand the globs passed on the command line, or use the default globs above.
|
||||
files = []
|
||||
if args.files:
|
||||
files = list_files(args.files)
|
||||
files = list_files(args.files, EXCLUSIONS)
|
||||
else:
|
||||
files = list_files(PATHS, EXCLUSIONS, TOP)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user