Skip to content

Commit

Permalink
[SPARK-45043][BUILD] Upgrade scalafmt to 3.7.13
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
The pr aims to upgrade `scalafmt` from 3.7.5 to 3.7.13.

### Why are the changes needed?
1.The newest version include some bug fixed, eg:
- FormatWriter: accumulate align shift correctly (scalameta/scalafmt#3615)
- Indents: ignore fewerBraces if indentation is 1 (scalameta/scalafmt#3592)
- RemoveScala3OptionalBraces: handle infix on rbrace (scalameta/scalafmt#3576)

2.The full release notes:
https://github.com/scalameta/scalafmt/releases/tag/v3.7.13
https://github.com/scalameta/scalafmt/releases/tag/v3.7.12
https://github.com/scalameta/scalafmt/releases/tag/v3.7.11
https://github.com/scalameta/scalafmt/releases/tag/v3.7.10
https://github.com/scalameta/scalafmt/releases/tag/v3.7.9
https://github.com/scalameta/scalafmt/releases/tag/v3.7.8
https://github.com/scalameta/scalafmt/releases/tag/v3.7.7
https://github.com/scalameta/scalafmt/releases/tag/v3.7.6

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Pass GA.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes #42764 from panbingkun/SPARK-45043.

Authored-by: panbingkun <pbk1982@gmail.com>
Signed-off-by: Sean Owen <srowen@gmail.com>
  • Loading branch information
panbingkun authored and srowen committed Sep 2, 2023
1 parent f0fb434 commit 82d54fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/.scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ fileOverride {
runner.dialect = scala213
}
}
version = 3.7.5
version = 3.7.13

0 comments on commit 82d54fc

Please sign in to comment.