Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scalafmt-core to 3.5.8 #1385

Merged
merged 4 commits into from
Jul 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Scala Steward: Reformat with scalafmt 3.5.8
7df4dbb2e21b6e2bf24b4d3411b78a0fb6d1e18d
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.5.3
version = 3.5.8
style = defaultWithAlign
maxColumn = 100
assumeStandardLibraryStripMargin = true
Expand Down
4 changes: 3 additions & 1 deletion e2e/src/test/scala/scalapb/TestUtil.scala
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ object TestUtil {

private def toBytes(str: String) = ByteString.copyFrom(str.getBytes("UTF-8"))

def isAnyVal[T](@nowarn value: T)(implicit pos: Position, tag: ClassTag[T], ev: T <:< AnyVal = null): Unit = {
def isAnyVal[T](
@nowarn value: T
)(implicit pos: Position, tag: ClassTag[T], ev: T <:< AnyVal = null): Unit = {
if (ev == null) {
org.scalatest.matchers.must.Matchers.fail(s"${tag.toString()} is not AnyVal")
}
Expand Down