Skip to content

Commit 5eaaf02

Browse files
authored
Merge pull request #16472 from github/redsun82/go-pre-commit
Go: disable pre-commit hook
2 parents c30ca4d + f125e73 commit 5eaaf02

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@ repos:
2929
entry: bazel run //misc/bazel:buildifier
3030
pass_filenames: false
3131

32-
- id: go-gen
33-
name: Check checked in generated files in go
34-
files: ^go/.*
35-
language: system
36-
entry: bazel run //go:gen
37-
pass_filenames: false
32+
# DISABLED: can be enabled by copying this config and installing `pre-commit` with `--config` on the copy
33+
# - id: go-gen
34+
# name: Check checked in generated files in go
35+
# files: ^go/.*
36+
# language: system
37+
# entry: bazel run //go:gen
38+
# pass_filenames: false
3839

3940
- id: codeql-format
4041
name: Fix QL file formatting

0 commit comments

Comments
 (0)