Skip to content

Commit

Permalink
build(deps): bump golang.org/x/tools from 0.29.0 to 0.30.0 (#5389)
Browse files Browse the repository at this point in the history
Co-authored-by: Fernandez Ludovic <[email protected]>
  • Loading branch information
dependabot[bot] and ldez authored Feb 10, 2025
1 parent 1b50df3 commit 8e1d5f4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
6 changes: 4 additions & 2 deletions .golangci.next.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1846,7 +1846,7 @@ linters-settings:
- sortslice
# Check signature of methods of well-known interfaces.
- stdmethods
# Check for uses of too-new standard library symbols.
# Report uses of too-new standard library symbols.
- stdversion
# Check for string(int) conversions.
- stringintconv
Expand All @@ -1868,7 +1868,7 @@ linters-settings:
- unusedresult
# Checks for unused writes.
- unusedwrite
# Checks for misuses of sync.WaitGroup.
# Check for misuses of sync.WaitGroup.
- waitgroup

# Enable all analyzers.
Expand Down Expand Up @@ -1913,6 +1913,7 @@ linters-settings:
- slog
- sortslice
- stdmethods
- stdversion
- stringintconv
- structtag
- testinggoroutine
Expand All @@ -1923,6 +1924,7 @@ linters-settings:
- unsafeptr
- unusedresult
- unusedwrite
- waitgroup

# Settings per analyzer.
settings:
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ require (
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
golang.org/x/mod v0.23.0
golang.org/x/sys v0.30.0
golang.org/x/tools v0.29.0
golang.org/x/tools v0.30.0
gopkg.in/yaml.v3 v3.0.1
honnef.co/go/tools v0.5.1
mvdan.cc/gofumpt v0.7.0
Expand Down Expand Up @@ -197,7 +197,7 @@ require (
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20241108190413-2d47ceb2692f // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sync v0.11.0 // indirect
golang.org/x/text v0.21.0 // indirect
google.golang.org/protobuf v1.36.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
Expand Down
12 changes: 6 additions & 6 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pkg/golinters/govet/testdata/fix/in/govet.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ type Foo struct {
}

func nonConstantFormat(s string) {
fmt.Printf(s)
fmt.Printf("%s", s)
fmt.Printf(s, "arg")
fmt.Fprintf(os.Stderr, s)
log.Printf(s)
fmt.Fprintf(os.Stderr, "%s", s)
log.Printf("%s", s)
}

0 comments on commit 8e1d5f4

Please sign in to comment.