From 1bc7b100ee1a341b12ef483e52cd9c14292673d3 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 28 Jun 2024 23:17:39 +0300 Subject: [PATCH] pre-commit: add local imports flag --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 064e9482..b22a0611 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,6 +13,10 @@ repos: hooks: - id: go-imports exclude: "pb\\.go$" + args: + - "-local" + - "go.mau.fi/mautrix-signal" + - "-w" - id: go-vet-mod #- id: go-staticcheck-repo-mod # TODO: reenable this and fix all the problems