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.2 #553

Merged
merged 3 commits into from
Jun 14, 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
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ e27af773ebaeae2ccabdc2eea15afe60107f2c99

# Scalafix
5d3fb14c0a346a863de95cd9124dba592c3233df

# Scala Steward: Reformat with scalafmt 3.8.2
bfb4e29c0fe449fb539105fd58a34aa8fb81deae
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.1"
version = "3.8.2"
runner.dialect = scala3

align.preset = more
Expand Down
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
inThisBuild(
Seq(
scalaVersion := "3.4.2",
version := "16.0.8",
organization := "org.lichess",
scalaVersion := "3.4.2",
version := "16.0.8",
organization := "org.lichess",
licenses += ("MIT" -> url("https://opensource.org/licenses/MIT")),
publishTo := Option(Resolver.file("file", new File(sys.props.getOrElse("publishTo", "")))),
semanticdbEnabled := true, // for scalafix
publishTo := Option(Resolver.file("file", new File(sys.props.getOrElse("publishTo", "")))),
semanticdbEnabled := true, // for scalafix
Compile / packageDoc / publishArtifact := false
)
)
Expand Down
4 changes: 1 addition & 3 deletions core/src/main/scala/Node.scala
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ final case class Node[A](
override val value: A,
override val child: Option[Node[A]] = None,
override val variations: List[Variation[A]] = Nil
) extends Tree[A](value, child)
derives Functor,
Traverse:
) extends Tree[A](value, child) derives Functor, Traverse:

import Tree.given

Expand Down