File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22files : ^(.*\.(py|md|sh|yaml|yml|in|cfg|txt|rst|toml|precommit-toml|wordlist))$
33exclude : ^(\.[^/]*(cache|assets|uv|venv)/.*)$
44repos :
5+ - repo : https://github.com/Lucas-C/pre-commit-hooks
6+ rev : v1.5.5
7+ hooks :
8+ - id : insert-license
9+ name : Add license for all Python files
10+ files : \.py$|\.bzl$|BUILD$|BUILD\.bazel$
11+ args :
12+ - --comment-style
13+ - " |#|"
14+ - --license-filepath
15+ - LICENSE_HEADER
16+ - --use-current-year
17+ - --allow-past-years
18+
519 - repo : https://github.com/codespell-project/codespell
620 rev : v2.4.1
721 hooks :
5266 args :
5367 - ' --pyink-indentation=2'
5468 - ' --line-length=122'
55- - ' --check'
5669
5770 - repo : https://github.com/executablebooks/mdformat
5871 rev : 0.7.22
Original file line number Diff line number Diff line change 1+ Copyright 2023–2026 Google LLC
2+
3+ Licensed under the Apache License, Version 2.0 (the "License");
4+ you may not use this file except in compliance with the License.
5+ You may obtain a copy of the License at
6+
7+ https://www.apache.org/licenses/LICENSE-2.0
8+
9+ Unless required by applicable law or agreed to in writing, software
10+ distributed under the License is distributed on an "AS IS" BASIS,
11+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ See the License for the specific language governing permissions and
13+ limitations under the License.
You can’t perform that action at this time.
0 commit comments