Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pre-commit for CI style checks. (#3062)
This PR adopts `pre-commit` in CI style checks and updates a few of the hooks (flake8, clang-format, and the copyright checker). This helps with the ongoing transition to GitHub Actions by centralizing style checks. I also applied a significant set of changes from `clang-format` and `flake8` suggestions in commits cfe6395 and adf0741. To minimize the diff in this PR, we can split those two commits into their own PRs with some small tweaks to the `pre-commit` configuration. Let me know if you'd like me to do this. Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Chuck Hastings (https://github.com/ChuckHastings) - AJ Schmidt (https://github.com/ajschmidt8) - Brad Rees (https://github.com/BradReesWork) URL: #3062
- Loading branch information