From 94b558b275fd60a5f34c587b6a227ab8fbc0f486 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 18 Jan 2025 11:40:44 +0100 Subject: [PATCH 1/3] Update scalafmt-core to 3.8.5 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 7455a7740..59998f609 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.8.3 +version = 3.8.5 runner.dialect = scala213source3 assumeStandardLibraryStripMargin = true align.openParenCallSite = false From 11f33debff2189bb969883f10a33b75ffcde82b5 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 18 Jan 2025 11:40:53 +0100 Subject: [PATCH 2/3] Reformat with scalafmt 3.8.5 Executed command: scalafmt --non-interactive --- .../scalasteward/core/forge/data/NewPullRequestData.scala | 5 ++--- .../org/scalasteward/core/repoconfig/RepoConfigAlg.scala | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/core/src/main/scala/org/scalasteward/core/forge/data/NewPullRequestData.scala b/modules/core/src/main/scala/org/scalasteward/core/forge/data/NewPullRequestData.scala index 1b8b3de00..b0c701239 100644 --- a/modules/core/src/main/scala/org/scalasteward/core/forge/data/NewPullRequestData.scala +++ b/modules/core/src/main/scala/org/scalasteward/core/forge/data/NewPullRequestData.scala @@ -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("{", ",", "}") diff --git a/modules/core/src/main/scala/org/scalasteward/core/repoconfig/RepoConfigAlg.scala b/modules/core/src/main/scala/org/scalasteward/core/repoconfig/RepoConfigAlg.scala index 9561f08ee..701cb2532 100644 --- a/modules/core/src/main/scala/org/scalasteward/core/repoconfig/RepoConfigAlg.scala +++ b/modules/core/src/main/scala/org/scalasteward/core/repoconfig/RepoConfigAlg.scala @@ -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}"""")) ) } } From ab86bb18e9d3af55388029b566f155668405c556 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 18 Jan 2025 11:40:53 +0100 Subject: [PATCH 3/3] Add 'Reformat with scalafmt 3.8.5' to .git-blame-ignore-revs --- .git-blame-ignore-revs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 000000000..54b03c1e7 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Scala Steward: Reformat with scalafmt 3.8.5 +11f33debff2189bb969883f10a33b75ffcde82b5