Sitelet https://github.com/typelevel/cats/commit/09053982aaed4a7a4f024ea7c17cce4e0f2e4169
Skip to content

Commit 0905398

Browse files
authored
Merge pull request #4281 from typelevel/update/scalafmt-core-3.5.9
Update scalafmt-core to 3.5.9
2 parents ba69c19 + 54195c4 commit 0905398

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

‎.git-blame-ignore-revs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Scala Steward: Reformat with scalafmt 3.5.9
2+
b4d207e9fa9f1463f0827fe20101e7901fecf820

‎.scalafmt.conf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=3.5.8
1+
version=3.5.9
22
align.openParenCallSite = true
33
align.openParenDefnSite = true
44
maxColumn = 120

‎laws/src/main/scala/cats/laws/discipline/AlignTests.scala‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,16 @@ trait AlignTests[F[_]] extends Laws {
5050
EqFIorCD: Eq[F[C Ior D]],
5151
EqFAssoc: Eq[F[Ior[Ior[A, B], C]]]
5252
): RuleSet =
53-
new DefaultRuleSet(name = "align",
54-
parent = None,
55-
"align associativity" -> forAll(laws.alignAssociativity[A, B, C] _),
56-
"align homomorphism" -> forAll { (fa: F[A], fb: F[B], f: A => C, g: B => D) =>
57-
laws.alignHomomorphism[A, B, C, D](fa, fb, f, g)
58-
},
59-
"alignWith consistent" -> forAll { (fa: F[A], fb: F[B], f: A Ior B => C) =>
60-
laws.alignWithConsistent[A, B, C](fa, fb, f)
61-
}
53+
new DefaultRuleSet(
54+
name = "align",
55+
parent = None,
56+
"align associativity" -> forAll(laws.alignAssociativity[A, B, C] _),
57+
"align homomorphism" -> forAll { (fa: F[A], fb: F[B], f: A => C, g: B => D) =>
58+
laws.alignHomomorphism[A, B, C, D](fa, fb, f, g)
59+
},
60+
"alignWith consistent" -> forAll { (fa: F[A], fb: F[B], f: A Ior B => C) =>
61+
laws.alignWithConsistent[A, B, C](fa, fb, f)
62+
}
6263
)
6364
}
6465

0 commit comments

Comments
 (0)