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.8.4 #688

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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.8.4
e1df8de6b7ed84b30f8908d1976865dd67aaf6ac
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.8.3"
version = "3.8.4"

preset = default
align.preset = some
Expand Down
3 changes: 1 addition & 2 deletions modules/common/src/main/scala/emil/Send.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import cats.data.NonEmptyList

trait Send[F[_], -C] {

/** Return an operation that sends a list of mails and returns the generated messageIDs.
*/
/** Return an operation that sends a list of mails and returns the generated messageIDs. */
def sendMails(mails: NonEmptyList[Mail[F]]): MailOp[F, C, NonEmptyList[String]]

def send(mail: Mail[F], mails: Mail[F]*): MailOp[F, C, NonEmptyList[String]] =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ trait BasicDecode {
implicit def mailAddressParseNameAndAddress
: Conv[(Option[String], String), Either[String, MailAddress]] =
mailAddressParse.contraMap[(Option[String], String)](
MailAddress.twoPartDisplay _ tupled
(MailAddress.twoPartDisplay _).tupled
)

implicit def mailAddressParseNameAndAddressValidated
: Conv[(Option[String], String), ValidatedNec[AddressException, MailAddress]] =
mailAddressParseValidated.contraMap[(Option[String], String)](
MailAddress.twoPartDisplay _ tupled
(MailAddress.twoPartDisplay _).tupled
)

implicit def recipientsDecode(implicit
Expand Down
3 changes: 1 addition & 2 deletions modules/tnef/src/main/scala/emil/tnef/TnefExtract.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ object TnefExtract {
}
}

/** Extracts the winmail.dat file given as a stream of bytes into a list of attachments.
*/
/** Extracts the winmail.dat file given as a stream of bytes into a list of attachments. */
def fromStream[F[_]: Async](
data: Stream[F, Byte]
): Stream[F, Attachment[F]] =
Expand Down
Loading