diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 3faecfeba..c12973660 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,2 +1,5 @@ # Scala Steward: Reformat with scalafmt 3.7.17 65023c3a2a2db480a25916926efa665f3b919fc2 + +# Scala Steward: Reformat with scalafmt 3.8.3 +c43f0c680acf1069fa7632606aca389fbd831fa5 diff --git a/.scalafmt.conf b/.scalafmt.conf index 4474d18b2..2070720af 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = "3.7.17" +version = "3.8.3" runner.dialect = scala213 maxColumn = 120 align.preset = most diff --git a/refined/shared/src/test/scala-2.13/zio/config/refined/NumericTestTypes.scala b/refined/shared/src/test/scala-2.13/zio/config/refined/NumericTestTypes.scala index b16395f4a..73507ea7d 100644 --- a/refined/shared/src/test/scala-2.13/zio/config/refined/NumericTestTypes.scala +++ b/refined/shared/src/test/scala-2.13/zio/config/refined/NumericTestTypes.scala @@ -3,10 +3,10 @@ package zio.config.refined import eu.timepit.refined.numeric.{Divisible, Greater, GreaterEqual, Less, LessEqual, NonDivisible} private[refined] trait NumericTestTypes { - type Less10 = Less[10] - type Greater10 = Greater[10] + type Less10 = Less[10] + type Greater10 = Greater[10] type GreaterOrEqual10 = GreaterEqual[10] - type LessOrEqual10 = LessEqual[10] - type DivisibleBy10 = Divisible[10] + type LessOrEqual10 = LessEqual[10] + type DivisibleBy10 = Divisible[10] type NonDivisibleBy10 = NonDivisible[10] } diff --git a/refined/shared/src/test/scala-3/zio/config/refined/NumericTestTypes.scala b/refined/shared/src/test/scala-3/zio/config/refined/NumericTestTypes.scala index b16395f4a..73507ea7d 100644 --- a/refined/shared/src/test/scala-3/zio/config/refined/NumericTestTypes.scala +++ b/refined/shared/src/test/scala-3/zio/config/refined/NumericTestTypes.scala @@ -3,10 +3,10 @@ package zio.config.refined import eu.timepit.refined.numeric.{Divisible, Greater, GreaterEqual, Less, LessEqual, NonDivisible} private[refined] trait NumericTestTypes { - type Less10 = Less[10] - type Greater10 = Greater[10] + type Less10 = Less[10] + type Greater10 = Greater[10] type GreaterOrEqual10 = GreaterEqual[10] - type LessOrEqual10 = LessEqual[10] - type DivisibleBy10 = Divisible[10] + type LessOrEqual10 = LessEqual[10] + type DivisibleBy10 = Divisible[10] type NonDivisibleBy10 = NonDivisible[10] } diff --git a/typesafe-magnolia-tests/shared/src/test/scala/zio/config/magnolia/CoproductSealedTraitSpec.scala b/typesafe-magnolia-tests/shared/src/test/scala/zio/config/magnolia/CoproductSealedTraitSpec.scala index ee82e1a8b..6b9313f1e 100644 --- a/typesafe-magnolia-tests/shared/src/test/scala/zio/config/magnolia/CoproductSealedTraitSpec.scala +++ b/typesafe-magnolia-tests/shared/src/test/scala/zio/config/magnolia/CoproductSealedTraitSpec.scala @@ -2,7 +2,7 @@ package zio.config.magnolia import zio.ConfigProvider import zio.config._ -import zio.config.derivation.{ name => derivedName } +import zio.config.derivation.{name => derivedName} import zio.test.Assertion._ import zio.test.{ZIOSpecDefault, _} diff --git a/yaml/shared/src/test/scala/zio/config/yaml/YamlConfigSpec.scala b/yaml/shared/src/test/scala/zio/config/yaml/YamlConfigSpec.scala index fb2ddfaaa..b32cf92c1 100644 --- a/yaml/shared/src/test/scala/zio/config/yaml/YamlConfigSpec.scala +++ b/yaml/shared/src/test/scala/zio/config/yaml/YamlConfigSpec.scala @@ -61,8 +61,8 @@ object YamlConfigSpec extends ZIOSpecDefault { val configDataBaseConfig: Config[DataBaseConfig] = Config.string("url").to[DataBaseConfig] val yamlConfig: String = s"""url: "some_url"""" - val result = read(configDataBaseConfig from ConfigProvider.fromYamlStringZIO(yamlConfig)) - val expected = DataBaseConfig("some_url") + val result = read(configDataBaseConfig from ConfigProvider.fromYamlStringZIO(yamlConfig)) + val expected = DataBaseConfig("some_url") assertZIO(result)(equalTo(expected)) } )