From a975842ec1911d3c3eb295c852491160a37c351b Mon Sep 17 00:00:00 2001 From: Jonas Chapuis Date: Thu, 10 Oct 2024 16:34:55 +0200 Subject: [PATCH] Add wartremover warning suppression for false positive in Availabilities.scala --- .../src/main/scala/endless/example/app/impl/Availabilities.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/example/src/main/scala/endless/example/app/impl/Availabilities.scala b/example/src/main/scala/endless/example/app/impl/Availabilities.scala index 49df7eb5..646b9609 100644 --- a/example/src/main/scala/endless/example/app/impl/Availabilities.scala +++ b/example/src/main/scala/endless/example/app/impl/Availabilities.scala @@ -12,6 +12,7 @@ import java.time.Instant import scala.concurrent.duration.* trait Availabilities { + @SuppressWarnings(Array("org.wartremover.warts.ToString")) implicit def alwaysAvailable[F[_]: Logger: Monad: Async]: AvailabilityAlg[F] = (time: Instant, passengerCount: Int) => Logger[F].info(