Skip to content

Commit 0376c7e

Browse files
Update module golang.org/x/tools to v0.35.0 (#76)
* Update module golang.org/x/tools to v0.35.0 * Ensure renovate runs `go mod tidy` after updates --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tom Fleet <me@followtheprocess.codes>
1 parent 597c865 commit 0376c7e

4 files changed

Lines changed: 15 additions & 14 deletions

File tree

.github/renovate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:recommended"
5-
]
3+
"extends": ["config:recommended"],
4+
"labels": ["dependencies"],
5+
"postUpdateOptions": ["gomodTidy"]
66
}

.golangci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ linters:
3535
- maintidx # This is just the inverse of complexity... which is cyclop
3636
- nestif # cyclop does this
3737
- nlreturn # Similar to wsl, I think best left to judgement
38+
- noinlineerr # Inline errors are fine
3839
- nonamedreturns # Named returns are often helpful, it's naked returns that are the issue
39-
- noinlineerr # This is more readable in some cases
4040
- paralleltest # I've never had Go tests take longer than a few seconds, it's fine
4141
- thelper # Everything in here is a helper basically
4242
- unparam # gopls is better and more subtle
4343
- varnamelen # Lots of false positives of things that are fine
4444
- wrapcheck # Not every error must be wrapped
4545
- wsl # Very aggressive, some of this I like but tend to do anyway
46+
- wsl_v5 # As above, just newer version
4647

4748
exclusions:
4849
presets:
@@ -162,7 +163,7 @@ linters:
162163
- fmt\.(Fp|P)rint(ln|f)?
163164
- strings.Builder.Write(String|Byte)?
164165
- bytes.Buffer.Write(String|Byte)?
165-
- os.File.Close?
166+
- go/printer.(Fp|P)rint(ln|f)?
166167

167168
- name: flag-parameter
168169
disabled: true # As far as I can work out this just doesn't like bools

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ go 1.24
55
require (
66
go.followtheprocess.codes/hue v0.6.0
77
go.followtheprocess.codes/snapshot v0.6.0
8-
golang.org/x/tools v0.34.0
8+
golang.org/x/tools v0.35.0
99
)
1010

1111
require (
12-
golang.org/x/sys v0.33.0 // indirect
13-
golang.org/x/term v0.32.0 // indirect
12+
golang.org/x/sys v0.34.0 // indirect
13+
golang.org/x/term v0.33.0 // indirect
1414
)

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ go.followtheprocess.codes/hue v0.6.0 h1:JDLnRrkauCCIyYRqKNBDM+X6X5o75j2CG3iddnzI
22
go.followtheprocess.codes/hue v0.6.0/go.mod h1:tNCWKaywHqkFo20hYOVwG7CaoRajJeE2AueP5HStY7U=
33
go.followtheprocess.codes/snapshot v0.6.0 h1:aq7WIc8hInqdpdrOzntk9lqHwxUqSw3YbgLYaoy0laQ=
44
go.followtheprocess.codes/snapshot v0.6.0/go.mod h1:0hskrLbmTgcv3h1YgVgX0CXiiOKq0UvhM4PewnOZOno=
5-
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
6-
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
7-
golang.org/x/term v0.32.0 h1:DR4lr0TjUs3epypdhTOkMmuF5CDFJ/8pOnbzMZPQ7bg=
8-
golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ=
9-
golang.org/x/tools v0.34.0 h1:qIpSLOxeCYGg9TrcJokLBG4KFA6d795g0xkBkiESGlo=
10-
golang.org/x/tools v0.34.0/go.mod h1:pAP9OwEaY1CAW3HOmg3hLZC5Z0CCmzjAF2UQMSqNARg=
5+
golang.org/x/sys v0.34.0 h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA=
6+
golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
7+
golang.org/x/term v0.33.0 h1:NuFncQrRcaRvVmgRkvM3j/F00gWIAlcmlB8ACEKmGIg=
8+
golang.org/x/term v0.33.0/go.mod h1:s18+ql9tYWp1IfpV9DmCtQDDSRBUjKaw9M1eAv5UeF0=
9+
golang.org/x/tools v0.35.0 h1:mBffYraMEf7aa0sB+NuKnuCy8qI/9Bughn8dC2Gu5r0=
10+
golang.org/x/tools v0.35.0/go.mod h1:NKdj5HkL/73byiZSJjqJgKn3ep7KjFkBOkR/Hps3VPw=

0 commit comments

Comments
 (0)