Bump mvdan.cc/gofumpt from 0.3.1 to 0.4.0 in /tools
Bumps mvdan.cc/gofumpt from 0.3.1 to 0.4.0.
Release notes
Sourced from mvdan.cc/gofumpt's releases.
v0.4.0
This release is based on Go 1.19's gofmt, and requires Go 1.18 or later. We recommend building gofumpt with Go 1.19 for the best formatting results.
The jump from Go 1.18 brings diffing in pure Go, removing the need to exec
diff, and a small parsing speed-up thanks togo/parser.SkipObjectResolution.The following formatting fixes are included as well:
- Allow grouping declarations with comments - #212
- Properly measure the length of case clauses - #217
- Fix a few crashes found by Go's native fuzzing
Binaries built on
go version go1.19.1 linux/amd64via a shell script.Consider becoming a sponsor if you benefit from the work that went into this release!
Changelog
Sourced from mvdan.cc/gofumpt's changelog.
[v0.4.0] - 2022-09-27
This release is based on Go 1.19's gofmt, and requires Go 1.18 or later. We recommend building gofumpt with Go 1.19 for the best formatting results.
The jump from Go 1.18 brings diffing in pure Go, removing the need to exec
diff, and a small parsing speed-up thanks togo/parser.SkipObjectResolution.The following formatting fixes are included as well:
Commits
6da4e62write changelog for v0.4.0535f6e6use testscript.Params.RequireExplicitExecc6041b3bump module deps70d7433revamp //gofumpt:diagnose for real use casesbf2870badd Go 1.19.x, drop 1.17.x8dda806use testdata/script/.txtar rather than testdata/scripts/.txt900c61async with go1.19beta1's gofmt2a5d4bcuse go/parser.SkipObjectResolution8f1392aREADME: clarify that we require Go 1.17 or laterd4a82e8README: add a godoc badge- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Codecov Report
Base: 12.63% // Head: 12.63% // No change to project coverage :thumbsup:
Coverage data is based on head (
a284923) compared to base (271b76b). Patch has no changes to coverable lines.
Additional details and impacted files
@@ Coverage Diff @@
## main #141 +/- ##
=======================================
Coverage 12.63% 12.63%
=======================================
Files 73 73
Lines 9583 9583
=======================================
Hits 1211 1211
Misses 8217 8217
Partials 155 155
| Flag | Coverage Δ | |
|---|---|---|
| Linux | 12.63% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.