Skip to content

Commit

Permalink
Merge pull request #1029 from scala-steward/update/scalafmt-core-3.0.8
Browse files Browse the repository at this point in the history
Update scalafmt-core to 3.0.8
  • Loading branch information
mergify[bot] authored Oct 29, 2021
2 parents d03a550 + cac8f52 commit f06dcff
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.0.7
version = 3.0.8

maxColumn = 100
docstrings.style = keep
Expand Down
12 changes: 6 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ lazy val metadataSettings = Def.settings(

lazy val compileSettings = Def.settings(
scalacOptions ++= Seq(
//"-deprecation",
// "-deprecation",
"-encoding",
"UTF-8",
"-feature",
Expand All @@ -430,10 +430,10 @@ lazy val compileSettings = Def.settings(
"-Ywarn-value-discard",
"-Ywarn-unused:implicits",
"-Ywarn-unused:imports"
//"-Ywarn-unused:locals",
//"-Ywarn-unused:params",
//"-Ywarn-unused:patvars"
//"-Ywarn-unused:privates"
// "-Ywarn-unused:locals",
// "-Ywarn-unused:params",
// "-Ywarn-unused:patvars"
// "-Ywarn-unused:privates"
)
case _ => Seq.empty
}
Expand Down Expand Up @@ -473,7 +473,7 @@ lazy val scaladocSettings = Def.settings(
val tag = s"v${version.value}"
val tree = if (isSnapshot.value) "master" else tag
Seq(
//"-diagrams",
// "-diagrams",
"-diagrams-debug",
"-doc-source-url",
s"${scmInfo.value.get.browseUrl}/blob/$tree€{FILE_PATH}.scala",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ trait NumericInstances {
): Gen[F[T, P]] =
Gen.chooseNum(rt.unwrap(min), rt.unwrap(max)).filter(v.isValid).map(rt.unsafeWrap)

///
// /

implicit def lessArbitrary[F[_, _]: RefType, T: Numeric: Choose: Adjacent, N](implicit
min: Min[T],
Expand All @@ -53,7 +53,7 @@ trait NumericInstances {
): Arbitrary[F[T, GreaterEqual[N]]] =
rangeClosedArbitrary(wn.snd, max.max)

///
// /

implicit def intervalOpenArbitrary[F[_, _]: RefType, T: Numeric: Choose: Adjacent, L, H](implicit
wl: WitnessAs[L, T],
Expand Down Expand Up @@ -81,8 +81,8 @@ trait NumericInstances {
): Arbitrary[F[T, Interval.Closed[L, H]]] =
rangeClosedArbitrary(wl.snd, wh.snd)

/// The following functions are private because it is not guaranteed
/// that they produce valid values according to the predicate `P`.
// / The following functions are private because it is not guaranteed
// / that they produce valid values according to the predicate `P`.

private def rangeOpenArbitrary[F[_, _]: RefType, T: Numeric: Choose, P](min: T, max: T)(implicit
at: Adjacent[T]
Expand Down

0 comments on commit f06dcff

Please sign in to comment.