Merge pull request from scala-steward/update/scalafmt-core-2.7.4

Update scalafmt-core to 2.7.4
This commit is contained in:
mergify[bot] 2020-10-06 21:42:57 +00:00 committed by GitHub
commit ab9866a64f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 15 deletions
.scalafmt.conf
modules
analysis/src/main/scala/docspell/analysis/contact
joex/src/main/scala/docspell/joex

@ -1,4 +1,4 @@
version = "2.7.3"
version = "2.7.4"
preset = defaultWithAlign

@ -8,8 +8,7 @@ private[analysis] object Tld {
def endsWithTld(str: String): Boolean =
findTld(str).isDefined
/**
* Some selected TLDs.
/** Some selected TLDs.
*/
private[this] val known = List(
".com",

@ -13,8 +13,7 @@ import docspell.store.records.{RAttachment, RAttachmentSource, RItem}
import bitpeace.FileMeta
/**
* Task that creates the item.
/** Task that creates the item.
*/
object CreateItem {

@ -8,8 +8,7 @@ import docspell.common.syntax.all._
import io.circe.Decoder
/**
* Binds a Task to a name. This is required to lookup the code based
/** Binds a Task to a name. This is required to lookup the code based
* on the taskName in the RJob data and to execute it given the
* arguments that have to be read from a string.
*

@ -2,8 +2,7 @@ package docspell.joex.scheduler
import docspell.common.Ident
/**
* This is a mapping from some identifier to a task. This is used by
/** This is a mapping from some identifier to a task. This is used by
* the scheduler to lookup an implementation using the taskName field
* of the RJob database record.
*/

@ -49,8 +49,7 @@ final class PeriodicSchedulerImpl[F[_]: ConcurrentEffect: ContextShift](
// internal
/**
* On startup, get all periodic jobs from this scheduler and remove
/** On startup, get all periodic jobs from this scheduler and remove
* the mark, so they get picked up again.
*/
def init: F[Unit] =

@ -31,8 +31,7 @@ final class SchedulerImpl[F[_]: ConcurrentEffect: ContextShift](
private[this] val logger = getLogger
/**
* On startup, get all jobs in state running from this scheduler
/** On startup, get all jobs in state running from this scheduler
* and put them into waiting state, so they get picked up again.
*/
def init: F[Unit] =

@ -7,8 +7,7 @@ import cats.implicits._
import docspell.common.Logger
/**
* The code that is executed by the scheduler
/** The code that is executed by the scheduler
*/
trait Task[F[_], A, B] {