diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d8fed9aa6813..9a2b256a5c22 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -204,3 +204,11 @@ repos: entry: gn format language: system files: '.*\.gni?$' + - id: meta-validate + name: Validate METADATA files + entry: python tools/metadata/validate.py + language: python + additional_dependencies: + - "protobuf" + always_run: true + pass_filenames: true