Skip to content

Commit

Permalink
Merge pull request #3551 from scala-steward-dev/update/scalafmt-core-…
Browse files Browse the repository at this point in the history
…3.8.5

Update scalafmt-core to 3.8.5
  • Loading branch information
mergify[bot] authored Jan 18, 2025
2 parents a9c09d7 + ab86bb1 commit 7e4ed80
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 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.8.5
11f33debff2189bb969883f10a33b75ffcde82b5
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.3
version = 3.8.5
runner.dialect = scala213source3
assumeStandardLibraryStripMargin = true
align.openParenCallSite = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,8 @@ object NewPullRequestData {
.map { scalafixEdit =>
val migration = scalafixEdit.migration
val listElements =
(migration.rewriteRules.map(rule => s" * $rule").toList ++ migration.doc.map(uri =>
s" * Documentation: $uri"
)).mkString("\n")
(migration.rewriteRules.map(rule => s" * $rule").toList ++ migration.doc
.map(uri => s" * Documentation: $uri")).mkString("\n")
val artifactName = migration.artifactIds match {
case Nel(one, Nil) => one
case multiple => multiple.toList.mkString("{", ",", "}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ object RepoConfigAlg {
case active :: remaining =>
F.pure(active.some)
.productL(
remaining.traverse_(file =>
logger.warn(s"""Ignored config file "${file.pathAsString}"""")
)
remaining
.traverse_(file => logger.warn(s"""Ignored config file "${file.pathAsString}""""))
)
}
}
Expand Down

0 comments on commit 7e4ed80

Please sign in to comment.