From ab5f273f4569c5ef25f5e12fd15c25f18d8d22b1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 May 2021 05:24:08 +0000 Subject: [PATCH 1/3] build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.3.2 to 2.4.0 Bumps [github.com/tommy-muehle/go-mnd/v2](https://github.com/tommy-muehle/go-mnd) from 2.3.2 to 2.4.0. - [Release notes](https://github.com/tommy-muehle/go-mnd/releases) - [Changelog](https://github.com/tommy-muehle/go-mnd/blob/master/.goreleaser.yml) - [Commits](https://github.com/tommy-muehle/go-mnd/compare/v2.3.2...v2.4.0) Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 72f4e4e10bc9..7c8faf30b095 100644 --- a/go.mod +++ b/go.mod @@ -76,7 +76,7 @@ require ( github.com/tetafro/godot v1.4.7 github.com/timakin/bodyclose v0.0.0-20200424151742-cb6215831a94 github.com/tomarrell/wrapcheck/v2 v2.1.0 - github.com/tommy-muehle/go-mnd/v2 v2.3.2 + github.com/tommy-muehle/go-mnd/v2 v2.4.0 github.com/ultraware/funlen v0.0.3 github.com/ultraware/whitespace v0.0.4 github.com/uudashr/gocognit v1.0.1 diff --git a/go.sum b/go.sum index 5584e52d0bc5..4987bdb298c2 100644 --- a/go.sum +++ b/go.sum @@ -627,6 +627,8 @@ github.com/tomarrell/wrapcheck/v2 v2.1.0/go.mod h1:crK5eI4RGSUrb9duDTQ5GqcukbKZv github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce/go.mod h1:o8v6yHRoik09Xen7gje4m9ERNah1d1PPsVq1VEx9vE4= github.com/tommy-muehle/go-mnd/v2 v2.3.2 h1:SLkFtxVVkoypCu6eTERr5U2IC3Kce/zOhA4IyNesPV4= github.com/tommy-muehle/go-mnd/v2 v2.3.2/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw= +github.com/tommy-muehle/go-mnd/v2 v2.4.0 h1:1t0f8Uiaq+fqKteUR4N9Umr6E99R+lDnLnq7PwX2PPE= +github.com/tommy-muehle/go-mnd/v2 v2.4.0/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ultraware/funlen v0.0.3 h1:5ylVWm8wsNwH5aWo9438pwvsK0QiqVuUrt9bn7S/iLA= github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA= From eb07209b5e0d395c732aa30ec94400d3878c7c09 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Mon, 31 May 2021 09:14:18 +0200 Subject: [PATCH 2/3] go mod tidy --- go.sum | 2 -- 1 file changed, 2 deletions(-) diff --git a/go.sum b/go.sum index 4987bdb298c2..e3dc5732b1ee 100644 --- a/go.sum +++ b/go.sum @@ -625,8 +625,6 @@ github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966/go.mod h1 github.com/tomarrell/wrapcheck/v2 v2.1.0 h1:LTzwrYlgBUwi9JldazhbJN84fN9nS2UNGrZIo2syqxE= github.com/tomarrell/wrapcheck/v2 v2.1.0/go.mod h1:crK5eI4RGSUrb9duDTQ5GqcukbKZvi85vX6nbhsBAeI= github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce/go.mod h1:o8v6yHRoik09Xen7gje4m9ERNah1d1PPsVq1VEx9vE4= -github.com/tommy-muehle/go-mnd/v2 v2.3.2 h1:SLkFtxVVkoypCu6eTERr5U2IC3Kce/zOhA4IyNesPV4= -github.com/tommy-muehle/go-mnd/v2 v2.3.2/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw= github.com/tommy-muehle/go-mnd/v2 v2.4.0 h1:1t0f8Uiaq+fqKteUR4N9Umr6E99R+lDnLnq7PwX2PPE= github.com/tommy-muehle/go-mnd/v2 v2.4.0/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= From 65e2e9ce05a6469f00b93199cc23b479be10aaae Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Mon, 31 May 2021 09:50:41 +0200 Subject: [PATCH 3/3] fix: disable gomnd on some files. --- .golangci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index a3e537e4a108..186eae865ee4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -124,6 +124,19 @@ issues: - path: _test\.go linters: - gomnd + # TODO must be removed after the release of the next version (v1.41.0) + - path: pkg/commands/run.go + linters: + - gomnd + # TODO must be removed after the release of the next version (v1.41.0) + - path: pkg/golinters/nolintlint/nolintlint.go + linters: + - gomnd + # TODO must be removed after the release of the next version (v1.41.0) + - path: pkg/printers/tab.go + linters: + - gomnd + run: skip-dirs: