From 892a9ca157f5a5ceb6a2a953d94311b5d6419425 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Fri, 24 Feb 2023 16:58:15 +0000 Subject: [PATCH 1/3] Update scalafmt-core to 3.7.2 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 54631b0..ea79da3 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version ="3.7.1" +version ="3.7.2" runner.dialect = scala213 From 164a312bbee6f6c8644b64c3e1dd28f1256ff0bf Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Fri, 24 Feb 2023 16:58:36 +0000 Subject: [PATCH 2/3] Reformat with scalafmt 3.7.2 Executed command: scalafmt --non-interactive --- .../ru/tinkoff/phobos/decoding/ElementLiteralInstances.scala | 3 ++- .../ru/tinkoff/phobos/decoding/AttributeLiteralInstances.scala | 3 ++- .../ru/tinkoff/phobos/decoding/ElementLiteralInstances.scala | 3 ++- .../ru/tinkoff/phobos/decoding/TextLiteralInstances.scala | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/modules/core/src/main/scala-2.13/ru/tinkoff/phobos/decoding/ElementLiteralInstances.scala b/modules/core/src/main/scala-2.13/ru/tinkoff/phobos/decoding/ElementLiteralInstances.scala index 5e8bfa9..d952a36 100644 --- a/modules/core/src/main/scala-2.13/ru/tinkoff/phobos/decoding/ElementLiteralInstances.scala +++ b/modules/core/src/main/scala-2.13/ru/tinkoff/phobos/decoding/ElementLiteralInstances.scala @@ -5,6 +5,7 @@ private[decoding] trait ElementLiteralInstances { decoder .emap((history, a) => if (a == valueOfL.value) Right(valueOfL.value) - else Left(DecodingError(s"Failed to decode literal type. Expected: ${valueOfL.value}, actual: $a", history, None)), + else + Left(DecodingError(s"Failed to decode literal type. Expected: ${valueOfL.value}, actual: $a", history, None)), ) } diff --git a/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/AttributeLiteralInstances.scala b/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/AttributeLiteralInstances.scala index d0fc926..ccf8440 100644 --- a/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/AttributeLiteralInstances.scala +++ b/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/AttributeLiteralInstances.scala @@ -8,6 +8,7 @@ private[decoding] trait AttributeLiteralInstances { decoder .emap((history, a) => if (a == valueOfL.value) Right(valueOfL.value) - else Left(DecodingError(s"Failed to decode literal type. Expected: ${valueOfL.value}, actual: $a", history, None)), + else + Left(DecodingError(s"Failed to decode literal type. Expected: ${valueOfL.value}, actual: $a", history, None)), ) } diff --git a/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/ElementLiteralInstances.scala b/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/ElementLiteralInstances.scala index 5e8bfa9..d952a36 100644 --- a/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/ElementLiteralInstances.scala +++ b/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/ElementLiteralInstances.scala @@ -5,6 +5,7 @@ private[decoding] trait ElementLiteralInstances { decoder .emap((history, a) => if (a == valueOfL.value) Right(valueOfL.value) - else Left(DecodingError(s"Failed to decode literal type. Expected: ${valueOfL.value}, actual: $a", history, None)), + else + Left(DecodingError(s"Failed to decode literal type. Expected: ${valueOfL.value}, actual: $a", history, None)), ) } diff --git a/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/TextLiteralInstances.scala b/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/TextLiteralInstances.scala index 32a1c61..f4f1fc5 100644 --- a/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/TextLiteralInstances.scala +++ b/modules/core/src/main/scala-3/ru/tinkoff/phobos/decoding/TextLiteralInstances.scala @@ -5,6 +5,7 @@ private[decoding] trait TextLiteralInstances { decoder .emap((history, a) => if (a == valueOfL.value) Right(valueOfL.value) - else Left(DecodingError(s"Failed to decode literal type. Expected: ${valueOfL.value}, actual: $a", history, None)), + else + Left(DecodingError(s"Failed to decode literal type. Expected: ${valueOfL.value}, actual: $a", history, None)), ) } From 3fc460f778e9a561a6042fec12e0b1de8ca338fe Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Fri, 24 Feb 2023 16:58:36 +0000 Subject: [PATCH 3/3] Add 'Reformat with scalafmt 3.7.2' 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 cab90ec..70ac819 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,2 +1,5 @@ # Scala Steward: Reformat with scalafmt 3.7.1 cf050cfeb9164f45d77febbd4e217487aafaa549 + +# Scala Steward: Reformat with scalafmt 3.7.2 +164a312bbee6f6c8644b64c3e1dd28f1256ff0bf