Skip to content

Commit 52e4e3d

Browse files
committed
Bump dependencies
1 parent a8922f1 commit 52e4e3d

4 files changed

Lines changed: 50 additions & 34 deletions

File tree

.golangci.yaml

Lines changed: 40 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,60 @@
1-
# See https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml
1+
version: "2"
22
run:
33
tests: true
4-
5-
linters-settings:
6-
errcheck:
7-
check-type-assertions: true
8-
check-blank: true
9-
gocyclo:
10-
min-complexity: 20
11-
dupl:
12-
threshold: 100
13-
misspell:
14-
locale: US
15-
unused:
16-
check-exported: false
17-
unparam:
18-
check-exported: true
19-
204
linters:
21-
enable-all: true
5+
default: all
226
disable:
237
- depguard
248
- exhaustruct
25-
- exportloopref
269
- forbidigo
2710
- forcetypeassert
28-
- gci
2911
- gochecknoglobals
3012
- ireturn
3113
- lll
3214
- mnd
15+
- nolintlint
3316
- nonamedreturns
34-
- nolintlint # https://github.com/golangci/golangci-lint/issues/3063
3517
- paralleltest
3618
- tagliatelle
3719
- testpackage
3820
- varnamelen
3921
- wrapcheck
40-
22+
- wsl
23+
settings:
24+
dupl:
25+
threshold: 100
26+
errcheck:
27+
check-type-assertions: true
28+
check-blank: true
29+
gocyclo:
30+
min-complexity: 20
31+
misspell:
32+
locale: US
33+
exclusions:
34+
generated: lax
35+
rules:
36+
- linters:
37+
- dupl
38+
- err113
39+
- funlen
40+
- goconst
41+
- mnd
42+
- noctx
43+
path: _test.go
44+
paths:
45+
- third_party$
46+
- builtin$
47+
- examples$
4148
issues:
4249
max-same-issues: 20
43-
exclude-use-default: false
44-
exclude-rules:
45-
- linters:
46-
- dupl
47-
- funlen
48-
- goconst
49-
- goerr113
50-
- gomnd
51-
- noctx
52-
path: "_test.go"
50+
formatters:
51+
enable:
52+
- gofmt
53+
- gofumpt
54+
- goimports
55+
exclusions:
56+
generated: lax
57+
paths:
58+
- third_party$
59+
- builtin$
60+
- examples$

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ MODULE_NAME=python
33
VENDOR_DIR = vendor
44

55
PYTHON_VERSION ?= 3.11
6-
GOLANGCI_LINT_VERSION ?= v1.63.4
6+
GOLANGCI_LINT_VERSION ?= v2.2.1
77

88
GO ?= go
99
GOLANGCI_LINT ?= $(shell go env GOPATH)/bin/golangci-lint-$(GOLANGCI_LINT_VERSION)

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ require (
1010

1111
require (
1212
github.com/davecgh/go-spew v1.1.1 // indirect
13-
github.com/kr/pretty v0.2.1 // indirect
13+
github.com/kr/pretty v0.3.1 // indirect
14+
github.com/kr/text v0.2.0 // indirect
1415
github.com/pmezard/go-difflib v1.0.0 // indirect
16+
github.com/rogpeppe/go-internal v1.9.0 // indirect
1517
gopkg.in/yaml.v3 v3.0.1 // indirect
1618
)

go.sum

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1+
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
12
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
23
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
34
github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
45
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
6+
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
7+
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
58
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
69
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
710
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
811
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
12+
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
913
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
1014
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
15+
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
16+
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
1117
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
1218
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
1319
go.nhat.io/cpy/v3 v3.11.2 h1:6+9rz9UAMg2j3ryZ/r7m9KMTDua88uJcBjU+lHzJ+Jg=

0 commit comments

Comments
 (0)