Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scalafmt-core to 3.8.3 #371

Merged
merged 3 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Scala Steward: Reformat with scalafmt 3.8.3
7ec1f9bb614efd42f9878fddcde461b276921120
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.8.2
version = 3.8.3
runner.dialect = Scala213Source3
runner.dialectOverride.withAllowStarWildcardImport = true
runner.dialectOverride.withAllowPostfixStarVarargSplices = true
Expand Down
3 changes: 1 addition & 2 deletions codegen/src/main/scala/no/nrk/bigquery/codegen/CodeGen.scala
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ object Generators {
case BQPartitionType.Sharded =>
"BQPartitionType.Sharded"
case BQPartitionType.IntegerRangePartitioned(Ident(field), range) =>
s"BQPartitionType.IntegerRangePartitioned(Ident(${lit(
field)}), BQIntegerRange(start = ${range.start}, end = ${range.end}, interval = ${range.interval}))"
s"BQPartitionType.IntegerRangePartitioned(Ident(${lit(field)}), BQIntegerRange(start = ${range.start}, end = ${range.end}, interval = ${range.interval}))"
case _: BQPartitionType.NotPartitioned =>
"BQPartitionType.NotPartitioned"
}
Expand Down