From 163d246f0da32a680c1946fe4a9c5c1703a72edd Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Sat, 1 Mar 2025 00:21:10 +0000 Subject: [PATCH 1/3] Update scalafmt-core to 3.9.2 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 8ed645a..57f38e9 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.6.1 +version = 3.9.2 runner.dialect = scala213 continuationIndent.defnSite = 2 docstrings.style = Asterisk From 83f8af00a3993db63958b76ffcdb46196c80ecbe Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Sat, 1 Mar 2025 00:21:13 +0000 Subject: [PATCH 2/3] Reformat with scalafmt 3.9.2 Executed command: scalafmt --non-interactive --- .../catbird/benchmark/RerunnableBenchmarkSpec.scala | 12 ++++-------- project/FinaglePlugin.scala | 5 ++--- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/benchmark/src/test/scala/org/typelevel/catbird/benchmark/RerunnableBenchmarkSpec.scala b/benchmark/src/test/scala/org/typelevel/catbird/benchmark/RerunnableBenchmarkSpec.scala index 7a01d5a..638272b 100644 --- a/benchmark/src/test/scala/org/typelevel/catbird/benchmark/RerunnableBenchmarkSpec.scala +++ b/benchmark/src/test/scala/org/typelevel/catbird/benchmark/RerunnableBenchmarkSpec.scala @@ -10,19 +10,15 @@ class RerunnableBenchmarkSpec extends AnyFlatSpec with BeforeAndAfter { before(benchmark.initPool()) after(benchmark.shutdownPool()) - "The benchmark" should "correctly calculate the sum using futures" in { + "The benchmark" should "correctly calculate the sum using futures" in assert(benchmark.sumIntsF === sum) - } - it should "correctly calculate the sum using futures and future pools" in { + it should "correctly calculate the sum using futures and future pools" in assert(benchmark.sumIntsPF === sum) - } - it should "correctly calculate the sum using rerunnables" in { + it should "correctly calculate the sum using rerunnables" in assert(benchmark.sumIntsR === sum) - } - it should "correctly calculate the sum using rerunnables and future pools" in { + it should "correctly calculate the sum using rerunnables and future pools" in assert(benchmark.sumIntsPR === sum) - } } diff --git a/project/FinaglePlugin.scala b/project/FinaglePlugin.scala index 950c112..a95dbb8 100644 --- a/project/FinaglePlugin.scala +++ b/project/FinaglePlugin.scala @@ -31,9 +31,8 @@ object FinaglePlugin extends AutoPlugin { .enablePlugins(NoPublishPlugin) .settings( libraryDependencies += module, - mimaCurrentClassfiles := { - (Compile / dependencyClasspath).value.seq.map(_.data).find(_.getName.startsWith(module.name)).get - }, + mimaCurrentClassfiles := + (Compile / dependencyClasspath).value.seq.map(_.data).find(_.getName.startsWith(module.name)).get, mimaPreviousArtifacts := versions.tail.map { v => module.withRevision(v) }.toSet From 79965158aaf33fbbaed262f59e4aab2fdea7669f Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Sat, 1 Mar 2025 00:21:13 +0000 Subject: [PATCH 3/3] Add 'Reformat with scalafmt 3.9.2' to .git-blame-ignore-revs --- .git-blame-ignore-revs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index bb0910e..1fe5294 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,2 +1,5 @@ # Scala Steward: Reformat with scalafmt 3.5.8 d36e29b27d550a5498b4dc35324fb24945271f55 + +# Scala Steward: Reformat with scalafmt 3.9.2 +83f8af00a3993db63958b76ffcdb46196c80ecbe