From c2cbbd0e5bcea0c7d61c901c5b4d2bf92f5bd2bd Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Mon, 29 Dec 2025 04:24:51 +0000 Subject: [PATCH 1/3] Update scalafmt-core to 3.10.3 in series/3.x --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 0a63e75a88..3f9bf45b15 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.9.10 +version = 3.10.3 runner.dialect = Scala213Source3 fileOverride { From 696b5d276f7a7d6b22d6b2163be26a64fe184b1e Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Mon, 29 Dec 2025 04:25:07 +0000 Subject: [PATCH 2/3] Reformat with scalafmt 3.10.3 Executed command: scalafmt --non-interactive --- .../src/main/scala/catseffect/examples.scala | 11 ++++++----- .../test/scala/cats/effect/std/QueueSuite.scala | 15 ++++++++------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/tests/shared/src/main/scala/catseffect/examples.scala b/tests/shared/src/main/scala/catseffect/examples.scala index 4b30d0bc90..8d99b146e3 100644 --- a/tests/shared/src/main/scala/catseffect/examples.scala +++ b/tests/shared/src/main/scala/catseffect/examples.scala @@ -178,11 +178,12 @@ package examples { val run = for { fibers <- loop.timeoutTo(5.seconds, IO.unit).start.replicateA(32) - sleeper = for { - _ <- IO.unit - _ <- IO.unit - _ <- IO.sleep(3.seconds) - } yield () + sleeper = + for { + _ <- IO.unit + _ <- IO.unit + _ <- IO.sleep(3.seconds) + } yield () _ <- sleeper.start _ <- IO.println("ready") diff --git a/tests/shared/src/test/scala/cats/effect/std/QueueSuite.scala b/tests/shared/src/test/scala/cats/effect/std/QueueSuite.scala index 27299213c4..e39a9c0885 100644 --- a/tests/shared/src/test/scala/cats/effect/std/QueueSuite.scala +++ b/tests/shared/src/test/scala/cats/effect/std/QueueSuite.scala @@ -799,13 +799,14 @@ trait QueueTests[Q[_[_], _]] { self: BaseSuite => results <- IO.ref(-1) latch <- IO.deferred[Unit] - consumer = for { - _ <- latch.complete(()) - - // grab an element and attempt to atomically set it into `results` - // if `take` itself is not atomic, then we might lose an element here - _ <- IO.uncancelable(_(take(q)).flatMap(results.set(_))).replicateA_(100) - } yield () + consumer = + for { + _ <- latch.complete(()) + + // grab an element and attempt to atomically set it into `results` + // if `take` itself is not atomic, then we might lose an element here + _ <- IO.uncancelable(_(take(q)).flatMap(results.set(_))).replicateA_(100) + } yield () consumerFiber <- consumer.start From 019da95ce324e3376f641c697e528682b4d6cd1b Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Mon, 29 Dec 2025 04:25:07 +0000 Subject: [PATCH 3/3] Add 'Reformat with scalafmt 3.10.3' 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 708d99efb8..75719da90b 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -21,3 +21,6 @@ ba11dfe5b6ab7c9f45521dde7c110212629ac50f # Scala Steward: Reformat with scalafmt 3.9.4 fa1afb9141016bf6f72896b9867a9bcba3cb2933 + +# Scala Steward: Reformat with scalafmt 3.10.3 +696b5d276f7a7d6b22d6b2163be26a64fe184b1e