From 217a380d06f4370cab78f12b1eb01c77da48fb2e Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 04:10:19 +0000 Subject: [PATCH 1/3] Update scalafmt-core to 3.8.4 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 3be0135..5c2e14f 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.8.3 +version = 3.8.4 maxColumn = 100 continuationIndent.callSite = 2 newlines.sometimesBeforeColonInMethodReturnType = false From 04a1b83fdfbff3263fa3ed6d95ca30daf54b2113 Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 04:10:24 +0000 Subject: [PATCH 2/3] Reformat with scalafmt 3.8.4 Executed command: scalafmt --non-interactive --- core/src/test/scala/org/typelevel/keypool/KeyPoolSpec.scala | 4 ++-- core/src/test/scala/org/typelevel/keypool/PoolSpec.scala | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/test/scala/org/typelevel/keypool/KeyPoolSpec.scala b/core/src/test/scala/org/typelevel/keypool/KeyPoolSpec.scala index 5326f3b..4175ec5 100644 --- a/core/src/test/scala/org/typelevel/keypool/KeyPoolSpec.scala +++ b/core/src/test/scala/org/typelevel/keypool/KeyPoolSpec.scala @@ -40,7 +40,7 @@ class KeyPoolSpec extends CatsEffectSuite { .withIdleTimeAllowedInPool(Duration.Inf) .withMaxPerKey(Function.const(10)) .withMaxTotal(10) - .withOnReaperException({ (_: Throwable) => IO.unit }) + .withOnReaperException((_: Throwable) => IO.unit) .build .use(k => k.take(1) @@ -60,7 +60,7 @@ class KeyPoolSpec extends CatsEffectSuite { .withIdleTimeAllowedInPool(Duration.Inf) .withMaxPerKey(Function.const(10)) .withMaxTotal(10) - .withOnReaperException({ (_: Throwable) => IO.unit }) + .withOnReaperException((_: Throwable) => IO.unit) .build .use(k => k.take(1) diff --git a/core/src/test/scala/org/typelevel/keypool/PoolSpec.scala b/core/src/test/scala/org/typelevel/keypool/PoolSpec.scala index 9d376f3..12f6955 100644 --- a/core/src/test/scala/org/typelevel/keypool/PoolSpec.scala +++ b/core/src/test/scala/org/typelevel/keypool/PoolSpec.scala @@ -39,7 +39,7 @@ class PoolSpec extends CatsEffectSuite { .withDefaultReuseState(Reusable.Reuse) .withIdleTimeAllowedInPool(Duration.Inf) .withMaxTotal(10) - .withOnReaperException({ (_: Throwable) => IO.unit }) + .withOnReaperException((_: Throwable) => IO.unit) .build .use(pool => pool.take @@ -58,7 +58,7 @@ class PoolSpec extends CatsEffectSuite { .withDefaultReuseState(Reusable.DontReuse) .withIdleTimeAllowedInPool(Duration.Inf) .withMaxTotal(10) - .withOnReaperException({ (_: Throwable) => IO.unit }) + .withOnReaperException((_: Throwable) => IO.unit) .build .use(pool => pool.take From 3711a2f20912c69dab75eb5ee563e4dc64de32b5 Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 04:10:24 +0000 Subject: [PATCH 3/3] Add 'Reformat with scalafmt 3.8.4' 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..2c68df7 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Scala Steward: Reformat with scalafmt 3.8.4 +04a1b83fdfbff3263fa3ed6d95ca30daf54b2113