diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f4c0f1d97cbdd2c169f3743dd8d3d30ce7593345..92bb2751c643309a41298b3eb5da451e8aa808bc 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,6 +25,8 @@ repos: - id: end-of-file-fixer - id: sort-simple-yaml files: (api|backward|api_[a-z_]+)\.yaml$ + - id: trailing-whitespace + files: (.*\.(py|bzl)|BUILD|.*\.BUILD|WORKSPACE)$ - repo: local hooks: - id: clang-format