From f125e732b0c79d75f3427f680ce13797cdf23777 Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Mon, 13 May 2024 09:27:35 +0200 Subject: [PATCH] Go: disable pre-commit hook --- .pre-commit-config.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 05104490468..62ac0d95779 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,12 +29,13 @@ repos: entry: bazel run //misc/bazel:buildifier pass_filenames: false - - id: go-gen - name: Check checked in generated files in go - files: ^go/.* - language: system - entry: bazel run //go:gen - pass_filenames: false +# DISABLED: can be enabled by copying this config and installing `pre-commit` with `--config` on the copy +# - id: go-gen +# name: Check checked in generated files in go +# files: ^go/.* +# language: system +# entry: bazel run //go:gen +# pass_filenames: false - id: codeql-format name: Fix QL file formatting