Skip to content

Commit

Permalink
pre-commit: add local imports flag
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
  • Loading branch information
sumnerevans committed Jun 28, 2024
1 parent 56e2ef8 commit 5b1050e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ repos:
hooks:
- id: go-imports
exclude: "pb\\.go$"
args: ["-w"]
args:
- "-local"
- "go.mau.fi/mautrix-meta"
- "-w"
- id: go-vet-mod
#- id: go-staticcheck-repo-mod
# TODO: reenable this and fix all the problems
Expand Down

0 comments on commit 5b1050e

Please sign in to comment.