From 37e2d090d1df981604e9e143a819bae9e4bee917 Mon Sep 17 00:00:00 2001 From: scala-steward Date: Wed, 25 Oct 2023 00:06:15 +0000 Subject: [PATCH 1/3] Update scalafmt-core to 3.7.15 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index d327be7..7d573ff 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.7.3 +version = 3.7.15 maxColumn = 120 runner.dialect = scala3 fileOverride { From 48e3c4c15c800e1f0614eb667ff5f40fa97a76a7 Mon Sep 17 00:00:00 2001 From: scala-steward Date: Wed, 25 Oct 2023 00:06:23 +0000 Subject: [PATCH 2/3] Reformat with scalafmt 3.7.15 Executed command: scalafmt --non-interactive --- .../softwaremill/quicklens/test/LiteralTypeTest.scala | 2 +- .../softwaremill/quicklens/ModifyEachWhereTest.scala | 2 +- .../scala/com/softwaremill/quicklens/TestData.scala | 10 ++++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/quicklens/src/test/scala-3/com/softwaremill/quicklens/test/LiteralTypeTest.scala b/quicklens/src/test/scala-3/com/softwaremill/quicklens/test/LiteralTypeTest.scala index 8e8cab3..7ffe317 100644 --- a/quicklens/src/test/scala-3/com/softwaremill/quicklens/test/LiteralTypeTest.scala +++ b/quicklens/src/test/scala-3/com/softwaremill/quicklens/test/LiteralTypeTest.scala @@ -31,4 +31,4 @@ class LiteralTypeTest extends AnyFlatSpec with Matchers { Test1["foo"]("foo").modify["foo"](_.f).setTo("bar") """) } -} \ No newline at end of file +} diff --git a/quicklens/src/test/scala/com/softwaremill/quicklens/ModifyEachWhereTest.scala b/quicklens/src/test/scala/com/softwaremill/quicklens/ModifyEachWhereTest.scala index 38e0a0d..557b7c4 100644 --- a/quicklens/src/test/scala/com/softwaremill/quicklens/ModifyEachWhereTest.scala +++ b/quicklens/src/test/scala/com/softwaremill/quicklens/ModifyEachWhereTest.scala @@ -39,7 +39,7 @@ class ModifyEachWhereTest extends AnyFlatSpec with Matchers { Seq(Foo("asdf")) .modify(_.eachWhere(_.field != lang2).field) - .setTo(lang2) should be (Seq(Foo("hey"))) + .setTo(lang2) should be(Seq(Foo("hey"))) } it should "not modify an optional case class field if it is none regardless of the condition" in { diff --git a/quicklens/src/test/scala/com/softwaremill/quicklens/TestData.scala b/quicklens/src/test/scala/com/softwaremill/quicklens/TestData.scala index 72e7aba..6328c17 100644 --- a/quicklens/src/test/scala/com/softwaremill/quicklens/TestData.scala +++ b/quicklens/src/test/scala/com/softwaremill/quicklens/TestData.scala @@ -103,10 +103,12 @@ object TestData { case class Address(street: Option[Street]) case class Person(addresses: List[Address]) - val person = Person(List( - Address(Some(Street("1 Functional Rd."))), - Address(Some(Street("2 Imperative Dr."))) - )) + val person = Person( + List( + Address(Some(Street("1 Functional Rd."))), + Address(Some(Street("2 Imperative Dr."))) + ) + ) case class Foo(field: String) } From 27eadc57320776ae4f7e51aea80b271edc42dba0 Mon Sep 17 00:00:00 2001 From: scala-steward Date: Wed, 25 Oct 2023 00:06:24 +0000 Subject: [PATCH 3/3] Add 'Reformat with scalafmt 3.7.15' 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 4739710..ffa1fa6 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,2 +1,5 @@ # Scala Steward: Reformat with scalafmt 3.2.2 1c7df8c740764927fd3962f34081dc1d0840e43f + +# Scala Steward: Reformat with scalafmt 3.7.15 +48e3c4c15c800e1f0614eb667ff5f40fa97a76a7