check-style: Add note with instructions to fix files

This commit is contained in:
Eduardo Almeida
2024-02-19 13:52:14 +00:00
parent 8baa49a2bc
commit eaeb53d0b6

View File

@@ -769,7 +769,9 @@ if __name__ == "__main__":
print(e)
sys.exit(1)
if all_checks_successful:
sys.exit(0)
else:
if not all_checks_successful:
if args.verbose:
print("")
print('NOTE: To fix the files automatically, run this script with the flag "--fix"')
sys.exit(1)