From 5ea88bd1f99966a8729e05050b1c9153797b62d4 Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Thu, 30 May 2024 10:02:57 +0100 Subject: [PATCH] Update dependencies --- .golangci.yml | 2 +- Makefile | 2 +- VERSION | 2 +- statsd_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 55b166e..b789ba6 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -73,7 +73,7 @@ linters: - errchkjson # Checks types passed to the json encoding functions. Reports unsupported types and optionally reports occasions, where the check for the returned error can be omitted. [fast: false, auto-fix: false] - errname # Checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error`. [fast: false, auto-fix: false] - errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. [fast: false, auto-fix: false] - - execinquery # execinquery is a linter about query string checker in Query function which reads your Go src files and warning it finds [fast: false, auto-fix: false] + #- execinquery # execinquery is a linter about query string checker in Query function which reads your Go src files and warning it finds [fast: false, auto-fix: false] - exhaustive # check exhaustiveness of enum switch statements [fast: false, auto-fix: false] #- exhaustruct # Checks if all structure fields are initialized [fast: false, auto-fix: false] - exportloopref # checks for pointers to enclosing loop variables [fast: false, auto-fix: false] diff --git a/Makefile b/Makefile index 212419b..388da86 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,7 @@ GOFMT=$(shell which gofmt) GOTEST=GOPATH=$(GOPATH) $(shell which gotest) GODOC=GOPATH=$(GOPATH) $(shell which godoc) GOLANGCILINT=$(BINUTIL)/golangci-lint -GOLANGCILINTVERSION=v1.57.2 +GOLANGCILINTVERSION=v1.59.0 # Directory containing the source code SRCDIR=./ diff --git a/VERSION b/VERSION index ee90284..90a27f9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.4 +1.0.5 diff --git a/statsd_test.go b/statsd_test.go index 560a056..04ce012 100644 --- a/statsd_test.go +++ b/statsd_test.go @@ -125,7 +125,7 @@ func TestUnique(t *testing.T) { func TestMute(t *testing.T) { dialTimeout = func(string, string, time.Duration) (net.Conn, error) { t.Fatal("net.Dial should not be called") - return nil, nil + return nil, nil //nolint:nilnil } defer func() { dialTimeout = net.DialTimeout }()