Skip to content

Commit

Permalink
Go: add gazelle pre-commit configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
redsun82 committed Apr 24, 2024
1 parent f99d51f commit b6eed18
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ repos:
entry: bazel run //:buildifier
pass_filenames: false

- id: gazelle
name: Check gazelle-generated BUILD files
files: go/extractor/.*
language: system
entry: bazel run //:gazelle -- go/extractor
pass_filenames: false

- id: codeql-format
name: Fix QL file formatting
files: \.qll?$
Expand Down

0 comments on commit b6eed18

Please sign in to comment.