Skip to content

Commit c273521

Browse files
committed
Disable insert-license pre-commit hook to prevent widespread disruptions
1 parent 484ac77 commit c273521

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

.pre-commit-config.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
files: ^(.*\.(py|md|sh|yaml|yml|in|cfg|txt|rst|toml|precommit-toml|wordlist))$
33
exclude: ^(\.[^/]*(cache|assets|uv|venv)/.*)$
44
repos:
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
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
1818

1919
- repo: https://github.com/codespell-project/codespell
2020
rev: v2.4.1

0 commit comments

Comments
 (0)