From e539b126b7e76d9f28188c05136bcc7aa378d8bb Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 25 Jan 2025 03:50:22 +0000 Subject: [PATCH 1/3] Update scalafmt-core to 3.8.6 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 06db72f..7a6ee14 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.8.3 +version = 3.8.6 runner.dialect = scala213 From 7de29d7a2e1d1e2e83ab2f5c55ba5b7ccd0eeee4 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 25 Jan 2025 03:50:32 +0000 Subject: [PATCH 2/3] Reformat with scalafmt 3.8.6 Executed command: scalafmt --non-interactive --- .../streaming/AkkStreamsIntegrationSpec.scala | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/test/scala/sangria/streaming/AkkStreamsIntegrationSpec.scala b/src/test/scala/sangria/streaming/AkkStreamsIntegrationSpec.scala index 4b0b464..c2f19a0 100644 --- a/src/test/scala/sangria/streaming/AkkStreamsIntegrationSpec.scala +++ b/src/test/scala/sangria/streaming/AkkStreamsIntegrationSpec.scala @@ -60,7 +60,7 @@ class AkkStreamsIntegrationSpec extends AnyWordSpec with Matchers { val updated = impl.onComplete(source(1, 2, 3))(inc()) - Await.ready(updated.runWith(Sink.last), 2 seconds) + Await.ready(updated.runWith(Sink.last), 2.seconds) count.get() should be(1) } @@ -76,15 +76,14 @@ class AkkStreamsIntegrationSpec extends AnyWordSpec with Matchers { val updated = impl.onComplete(s)(inc()) - Await.ready(updated.runWith(Sink.last), 2 seconds) + Await.ready(updated.runWith(Sink.last), 2.seconds) count.get() should be(1) } "flatMapFuture" in { - res( - impl.flatMapFuture(Future.successful(1))(i => - source(i.toString, (i + 1).toString))) should be(List("1", "2")) + res(impl.flatMapFuture(Future.successful(1))(i => + source(i.toString, (i + 1).toString))) should be(List("1", "2")) } "recover" in { @@ -142,8 +141,8 @@ class AkkStreamsIntegrationSpec extends AnyWordSpec with Matchers { Source.fromIterator(() => Iterator(elems: _*)) def res[T](s: Source[T, NotUsed]) = - Await.result(s.runFold(List.empty[T]) { case (acc, e) => acc :+ e }, 2 seconds) + Await.result(s.runFold(List.empty[T]) { case (acc, e) => acc :+ e }, 2.seconds) def res[T](f: Future[T]) = - Await.result(f, 2 seconds) + Await.result(f, 2.seconds) } From 15ebe1466867879a9de1335965ea46b128747407 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sat, 25 Jan 2025 03:50:32 +0000 Subject: [PATCH 3/3] Add 'Reformat with scalafmt 3.8.6' 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 0000000..21e86e0 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Scala Steward: Reformat with scalafmt 3.8.6 +7de29d7a2e1d1e2e83ab2f5c55ba5b7ccd0eeee4