diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index bb0910e2..24f612f1 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.3 +8534daf02cdd2df3e1fb0a269ef425eb13519a4e diff --git a/.scalafmt.conf b/.scalafmt.conf index 8ed645af..39b2cb20 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.6.1 +version = 3.9.3 runner.dialect = scala213 continuationIndent.defnSite = 2 docstrings.style = Asterisk 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 7a01d5af..638272bd 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 950c1122..a95dbb8a 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