### Describe the enhancement requested This is a sub-issue of #40417. We have pre-commit configuration but it's not used in our CI. ### Component(s) Continuous Integration, Developer Tools