From 41237b98e7eaff5ccca42f041365fac947ec0968 Mon Sep 17 00:00:00 2001 From: Igor Tsvetkov Date: Tue, 24 Mar 2026 10:13:05 -0700 Subject: [PATCH] Disable insert-license pre-commit hook to prevent widespread disruptions --- .pre-commit-config.yaml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a8cc2ef996..39313ef66c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,20 +2,6 @@ files: ^(.*\.(py|md|sh|yaml|yml|in|cfg|txt|rst|toml|precommit-toml|wordlist))$ exclude: ^(\.[^/]*(cache|assets|uv|venv)/.*)$ repos: - - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.5 - hooks: - - id: insert-license - name: Add license for all Python files - files: \.py$|\.bzl$|BUILD$|BUILD\.bazel$ - args: - - --comment-style - - "|#|" - - --license-filepath - - LICENSE_HEADER - - --use-current-year - - --allow-past-years - - repo: https://github.com/codespell-project/codespell rev: v2.4.1 hooks: