iree-org / iree

A retargetable MLIR-based machine learning compiler and runtime toolkit.
http://iree.dev/
Apache License 2.0
2.47k stars 551 forks source link

Enable end-of-file-fixer and trailing-whitespace hooks. #17630

Closed ScottTodd closed 2 weeks ago

ScottTodd commented 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:

Together, both of these hooks enforce more consistency in file formatting, making large scale changes easier and cleaner.