Closed ScottTodd closed 2 weeks ago
Progress on https://github.com/iree-org/iree/issues/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
\n
trailing-whitespace
Together, both of these hooks enforce more consistency in file formatting, making large scale changes easier and cleaner.
Progress on https://github.com/iree-org/iree/issues/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 newlinestrailing-whitespace
ensures that lines in files do not contain trailing whitespaceTogether, both of these hooks enforce more consistency in file formatting, making large scale changes easier and cleaner.