From e429596df533c8ffcc1803f0d22d0f354d738613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Mon, 14 Mar 2022 18:00:35 +0100 Subject: [PATCH] Silence go-staticcheck about openpgp use MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We already silence the CI linters, this silences warnings in the Visual Studio Code default configuration. Signed-off-by: Miloslav Trmač --- signature/mechanism.go | 1 + signature/mechanism_openpgp.go | 1 + 2 files changed, 2 insertions(+) diff --git a/signature/mechanism.go b/signature/mechanism.go index 9a32a4364..961246147 100644 --- a/signature/mechanism.go +++ b/signature/mechanism.go @@ -13,6 +13,7 @@ import ( // code path, where cryptography is not relevant. For now, continue to // use this frozen deprecated implementation. When mechanism_openpgp.go // migrates to another implementation, this should migrate as well. + //lint:ignore SA1019 See above "golang.org/x/crypto/openpgp" //nolint:staticcheck ) diff --git a/signature/mechanism_openpgp.go b/signature/mechanism_openpgp.go index 7a31425f1..ef4e70e7f 100644 --- a/signature/mechanism_openpgp.go +++ b/signature/mechanism_openpgp.go @@ -20,6 +20,7 @@ import ( // For this verify-only fallback, we haven't reviewed any of the // existing alternatives to choose; so, for now, continue to // use this frozen deprecated implementation. + //lint:ignore SA1019 See above "golang.org/x/crypto/openpgp" //nolint:staticcheck )