Skip to content
Prev Previous commit
Next Next commit
Properly pluralise file(s), fix Unix typo
  • Loading branch information
hugovk committed Sep 25, 2023
commit d7690a3588a7f32117a730c35a2697fa9cc17688
5 changes: 3 additions & 2 deletions Tools/patchcheck/patchcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,9 @@ def ci(pull_request):
if not fixed:
print('No whitespace issues found')
else:
print(f'Please fix the {len(fixed)} file(s) with whitespace issues')
print('(on UNIX you can run `make patchcheck` to make the fixes)')
count = len(fixed)
print(f'Please fix the {count} {n_files_str(count)} with whitespace issues')
Comment thread
hugovk marked this conversation as resolved.
Outdated
print('(on Unix you can run `make patchcheck` to make the fixes)')
sys.exit(1)


Expand Down