forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable end-of-file-fixer and trailing-whitespace hooks. (iree-org#17630)
Progress on iree-org#17430. We've had pre-commit enabled as blocking on PRs for about a week now and setup is documented at https://iree.dev/developers/general/contributing/#coding-style-guidelines, so I'm comfortable enforcing these extra checks: * `end-of-file-fixer` ensures that files end with a single `\n` character, trimming extra newlines and inserting missing newlines * `trailing-whitespace` ensures that lines in files do not contain trailing whitespace Together, both of these hooks enforce more consistency in file formatting, making large scale changes easier and cleaner.
- Loading branch information
Showing
3 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters