Skip to content

Commit

Permalink
chore: Update scalafmt-core from 3.8.2 to 3.8.3 (#1939)
Browse files Browse the repository at this point in the history
* chore: Update scalafmt-core from 3.8.2 to 3.8.3

* Reformat with scalafmt 3.8.3

Executed command: scalafmt --non-interactive

* Add 'Reformat with scalafmt 3.8.3' to .git-blame-ignore-revs

---------

Co-authored-by: RenkuBot <RenkuBot@users.noreply.github.com>
  • Loading branch information
RenkuBot and RenkuBot authored Jul 26, 2024
1 parent 212f0fb commit 3a954c4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ b20f0ba57795f003fe4d90817422e14b880d6c8c

# Scala Steward: Reformat with scalafmt 3.8.2
14ef2288193da77ae03e7eb551d48b65980f4fc9

# Scala Steward: Reformat with scalafmt 3.8.3
36121b1cae26cb45c8e5cbe3dcce11d15612c4ce
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.2"
version = "3.8.3"

runner.dialect = scala213

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private class MicroserviceRoutes[F[_]: Async](
}
}

private lazy val `GET /datasets/*` : AuthedRoutes[MaybeAuthUser, F] =
private lazy val `GET /datasets/*`: AuthedRoutes[MaybeAuthUser, F] =
AuthedRoutes.of { case GET -> Root / "knowledge-graph" / "datasets" / RequestedDataset(dsId) as maybeUser =>
fetchDataset(dsId, maybeUser.option)
}
Expand All @@ -128,16 +128,16 @@ private class MicroserviceRoutes[F[_]: Async](
AuthedRoutes.of {
case req @ GET -> Root / "knowledge-graph" / "entities"
:? query(maybeQuery) +& entityTypes(maybeTypes) +& creatorNames(maybeCreators) +& roles(maybeRoles)
+& visibilities(maybeVisibilities) +& namespaces(maybeNamespaces)
+& since(maybeSince) +& until(maybeUntil)
+& visibilities(maybeVisibilities) +& namespaces(maybeNamespaces)
+& since(maybeSince) +& until(maybeUntil)
+& sort(maybeSort) +& page(maybePage) +& perPage(maybePerPage) as maybeUser =>
searchForEntities(maybeQuery, maybeTypes, maybeCreators, maybeRoles, maybeVisibilities, maybeNamespaces,
maybeSince, maybeUntil, maybeSort, maybePage, maybePerPage, maybeUser.option, req.req)
}
}
// format: on

private lazy val `GET /users/*` : AuthedRoutes[MaybeAuthUser, F] = {
private lazy val `GET /users/*`: AuthedRoutes[MaybeAuthUser, F] = {
import users.binders._
import users.projects.Endpoint.Criteria.Filters
import users.projects.Endpoint.Criteria.Filters.ActivationState._
Expand All @@ -158,7 +158,7 @@ private class MicroserviceRoutes[F[_]: Async](
}
}

private lazy val `GET /projects/*` : AuthedRoutes[MaybeAuthUser, F] = AuthedRoutes.of {
private lazy val `GET /projects/*`: AuthedRoutes[MaybeAuthUser, F] = AuthedRoutes.of {

case authReq @ POST -> Root / "knowledge-graph" / "projects" as maybeUser =>
maybeUser.withUserOrNotFound {
Expand Down

0 comments on commit 3a954c4

Please sign in to comment.