diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9403dd5338..2655a4aa51 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: rev: 6.0.0 hooks: - id: buildifier - args: &args + args: &args # Keep this argument in sync with .bazelci/presubmit.yaml - --warnings=all - id: buildifier-lint @@ -30,10 +30,17 @@ repos: hooks: - id: isort name: isort (python) - args: + args: - --profile - black - repo: https://github.com/psf/black rev: 23.1.0 hooks: - id: black + - repo: local + hooks: + - id: addlicense + name: Add copyright headers + entry: addlicense.sh + types: [text] + language: script