Skip to content

Commit

Permalink
Merge pull request #3521 from scala-steward-org/topic/harmonize-liter…
Browse files Browse the repository at this point in the history
…als-imports

Harmonize imports for http4s and circe literals
  • Loading branch information
fthomas authored Jan 6, 2025
2 parents a114407 + ea708c1 commit 573924a
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import cats.{ApplicativeError, MonadThrow}
import fs2.Stream
import org.apache.commons.io.FileUtils
import org.http4s.Uri
import org.http4s.implicits._
import org.http4s.syntax.literals._
import org.typelevel.log4cats.Logger
import scala.io.Source

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import munit.CatsEffectSuite
import org.http4s.HttpRoutes
import org.http4s.client._
import org.http4s.headers.{`Retry-After`, `User-Agent`, Location}
import org.http4s.implicits._
import org.http4s.syntax.literals._
import org.typelevel.ci._
import org.typelevel.log4cats.LoggerFactory
import org.typelevel.log4cats.slf4j.Slf4jFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.scalasteward.core.coursier
import cats.Id
import cats.syntax.all._
import munit.FunSuite
import org.http4s.implicits.http4sLiteralsSyntax
import org.http4s.syntax.literals._

class DependencyMetadataTest extends FunSuite {
test("filterUrls") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package org.scalasteward.core.forge

import munit.FunSuite
import org.http4s.Uri
import org.http4s.implicits._
import org.http4s.syntax.literals._
import org.scalasteward.core.forge.ForgeType._

/** As much as possible, uris in this test suite should aim to be real, clickable, uris that
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package org.scalasteward.core.forge.azurerepos

import munit.CatsEffectSuite
import org.http4s.dsl.Http4sDsl
import org.http4s.implicits._
import org.http4s.syntax.literals._
import org.http4s.{HttpApp, Uri}
import org.scalasteward.core.TestInstances.ioLogger
import org.scalasteward.core.application.Config.AzureReposCfg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import munit.CatsEffectSuite
import org.http4s._
import org.http4s.circe._
import org.http4s.dsl.Http4sDsl
import org.http4s.implicits._
import org.http4s.syntax.literals._
import org.scalasteward.core.TestInstances.ioLogger
import org.scalasteward.core.application.Config.BitbucketCfg
import org.scalasteward.core.data.Repo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package org.scalasteward.core.forge.bitbucketserver

import munit.CatsEffectSuite
import org.http4s.dsl.Http4sDsl
import org.http4s.implicits._
import org.http4s.syntax.literals._
import org.http4s.{HttpApp, Uri}
import org.scalasteward.core.TestInstances.ioLogger
import org.scalasteward.core.application.Config.BitbucketServerCfg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import munit.CatsEffectSuite
import org.http4s.HttpApp
import org.http4s.circe._
import org.http4s.dsl.Http4sDsl
import org.http4s.implicits._
import org.http4s.syntax.literals._
import org.scalasteward.core.TestInstances.ioLogger
import org.scalasteward.core.application.Config.GiteaCfg
import org.scalasteward.core.data.Repo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import munit.CatsEffectSuite
import org.http4s.HttpApp
import org.http4s.circe._
import org.http4s.dsl.Http4sDsl
import org.http4s.implicits._
import org.http4s.syntax.literals._
import org.scalasteward.core.TestInstances.ioLogger
import org.scalasteward.core.application.Config.GitHubCfg
import org.scalasteward.core.data.Repo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package org.scalasteward.core.forge.github

import better.files.File
import io.circe.literal.JsonStringContext
import io.circe.literal._
import munit.CatsEffectSuite
import org.http4s.circe._
import org.http4s.dsl.Http4sDsl
import org.http4s.headers.Authorization
import org.http4s.implicits.http4sLiteralsSyntax
import org.http4s.syntax.literals._
import org.http4s.{AuthScheme, Credentials, HttpApp, Request}
import org.scalasteward.core.data.Repo
import org.scalasteward.core.mock.MockContext.context.{httpJsonClient, logger}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.http4s.HttpApp
import org.http4s.circe._
import org.http4s.dsl.Http4sDsl
import org.http4s.headers.Allow
import org.http4s.implicits._
import org.http4s.syntax.literals._
import org.scalasteward.core.TestInstances.{dummyRepoCache, ioLogger}
import org.scalasteward.core.TestSyntax._
import org.scalasteward.core.application.Config.GitLabCfg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import cats.syntax.all._
import munit.CatsEffectSuite
import org.http4s.HttpApp
import org.http4s.dsl.Http4sDsl
import org.http4s.implicits._
import org.http4s.syntax.literals._
import org.scalasteward.core.application.Config.ForgeCfg
import org.scalasteward.core.coursier.DependencyMetadata
import org.scalasteward.core.data.Version
Expand Down

0 comments on commit 573924a

Please sign in to comment.