Skip to content

Commit

Permalink
Update scalafmt-core to 3.7.5 (#2792)
Browse files Browse the repository at this point in the history
* Update scalafmt-core to 3.7.5

* Reformat with scalafmt 3.7.5

Executed command: scalafmt --non-interactive

* Add 'Reformat with scalafmt 3.7.5' to .git-blame-ignore-revs
  • Loading branch information
scala-steward authored Jul 1, 2023
1 parent 7f86af5 commit 534f332
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
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.7.5
d8a77dfb017feae820e38eea0d7b5128b13a737d
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.7.4"
version = "3.7.5"
maxColumn = 120
align.preset = most
align.multiline = false
Expand Down
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,8 @@ lazy val basicSettings = excludeFilterSettings ++ Seq(
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Ywarn-value-discard",
"-Ypatmat-exhaust-depth", "40"
"-Ypatmat-exhaust-depth",
"40"
),
scalacOptions ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ trait CodeGeneratorComponents extends HasBasicMeta with QuerySchemaNaming {

/**
* Take the schema of a table and convert it to something a object/package
* etc... can actually be named as
* i.e. a namespace.
* etc... can actually be named as i.e. a namespace.
*/
def namespacer: Namespacer[TableMeta]
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ import scala.collection.immutable.Set
* of the form x[0-9]+. Since `AvoidAliasConflict` typically runs not on the
* entire Ast but the sub-parts of it used by normalizations, making temporary
* aliases permanent cannot be done in these sub-parts because the 'state' of
* this transformation is not fully know
* i.e. because aliases of outer clauses may not be present. For this reason,
* this transformation is specifically called once from the top-level inside
* `SqlNormalize` at the very end of the transformation pipeline.
* this transformation is not fully know i.e. because aliases of outer clauses
* may not be present. For this reason, this transformation is specifically
* called once from the top-level inside `SqlNormalize` at the very end of the
* transformation pipeline.
*/
private[getquill] case class AvoidAliasConflict(state: Set[IdentName], detemp: Boolean, traceConfig: TraceConfig)
extends StatefulTransformer[Set[IdentName]] {
Expand Down

0 comments on commit 534f332

Please sign in to comment.