| # See go/cast-pre-commit for details |
| default_language_version: |
| python: python3 |
| repos: |
| - hooks: |
| - args: [--root, ../chromium/src, --target, chromecast/internal, --extra-repos, chromecast/internal] |
| |
| id: check-deps |
| name: chromium-src-check-deps |
| stages: |
| - push |
| repo: sso://nest-source-internal.git.corp.google.com/hooks/check-deps |
| rev: '1.3' |
| - hooks: |
| - args: [] |
| |
| id: clang-format |
| repo: sso://nest-source-internal.git.corp.google.com/hooks/clang-format |
| rev: '3.4' |
| - hooks: |
| - args: [] |
| |
| id: cpp-blacklist |
| repo: sso://nest-source-internal.git.corp.google.com/hooks/cpp-blacklist |
| rev: '2.4' |
| - hooks: |
| - args: [] |
| |
| id: cpplint |
| repo: sso://nest-source-internal.git.corp.google.com/hooks/cpplint |
| rev: '1.4' |
| - hooks: |
| - id: eureka-commit-message-check |
| stages: |
| - commit-msg |
| repo: sso://nest-source-internal.git.corp.google.com/hooks/eureka-commit-message-check |
| rev: '1.9' |
| - hooks: |
| - id: eureka-prepare-commit-message |
| stages: |
| - prepare-commit-msg |
| repo: sso://nest-source-internal.git.corp.google.com/hooks/eureka-prepare-commit-message |
| rev: '1.5' |
| - hooks: |
| - id: json-format-check |
| - id: xml-format-check |
| repo: sso://nest-source-internal.git.corp.google.com/hooks/file-format-check |
| rev: '0.4' |
| - hooks: |
| - args: [--args, import("//chromecast/internal/build/args/config/precommit/all.gni"), ../chromium/src] |
| |
| id: gn-check |
| name: gn-check-default |
| stages: |
| - push |
| - args: [--args, import("//chromecast/internal/build/args/config/precommit/audio-only.gni"), |
| ../chromium/src] |
| |
| id: gn-check |
| name: gn-check-audioonly |
| stages: |
| - push |
| repo: sso://nest-source-internal.git.corp.google.com/hooks/gn-check |
| rev: '2.2' |
| - hooks: |
| - id: gn-format |
| repo: sso://nest-source-internal.git.corp.google.com/hooks/gn-format |
| rev: '2.0' |
| - hooks: |
| - id: pylint |
| repo: sso://nest-source-internal.git.corp.google.com/hooks/pylint |
| rev: '2.2' |
| - hooks: |
| - id: precommit-message-preservation |
| stages: |
| - prepare-commit-msg |
| repo: sso://nest-source-internal.git.corp.google.com/hooks/precommit-message-preservation |
| rev: '1.3' |