From 854171161ca9f1c182658d125cb32e9a1b145f9c Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 10 Nov 2021 05:23:37 +0100 Subject: [PATCH 1/2] Update scalafmt-core to 3.1.0 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index c15ff60..6ec4347 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = "3.0.8" +version = "3.1.0" maxColumn = 140 align.preset = most From a1a4d96d839236bd0e332b0d43684d53a7d59efe Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 10 Nov 2021 05:23:43 +0100 Subject: [PATCH 2/2] Reformat with scalafmt 3.1.0 --- src/main/scala/app/Api.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/app/Api.scala b/src/main/scala/app/Api.scala index 25be579..00c614b 100644 --- a/src/main/scala/app/Api.scala +++ b/src/main/scala/app/Api.scala @@ -101,6 +101,6 @@ object Examples { abstract class TapirApi[F[_]: Async] { def tag: Tag def serverEndpoints: List[ServerEndpoint[Any, F]] - def endpoints: List[Endpoint[_ ,_, _, _, _]] = serverEndpoints.map(_.endpoint) - def routes: HttpRoutes[F] = Http4sServerInterpreter().toRoutes(serverEndpoints) + def endpoints: List[Endpoint[_, _, _, _, _]] = serverEndpoints.map(_.endpoint) + def routes: HttpRoutes[F] = Http4sServerInterpreter().toRoutes(serverEndpoints) }