Lint all files in a sorted manner.

This commit is contained in:
gibbed 2020-02-22 12:24:41 -06:00 committed by Rick Gibbed
parent 39765093d6
commit 5aeeed72b9
1 changed files with 2 additions and 0 deletions

View File

@ -1202,6 +1202,7 @@ class LintCommand(Command):
if args['all']:
all_files = find_all_source_files()
all_files.sort()
print('- linting %d files' % (len(all_files)))
any_errors = False
for file_path in all_files:
@ -1298,6 +1299,7 @@ class FormatCommand(Command):
if args['all']:
all_files = find_all_source_files()
all_files.sort()
print('- clang-format [%d files]' % (len(all_files)))
any_errors = False
for file_path in all_files: