Skip to content

Commit

Permalink
Update scalafmt-core to 3.7.5 (#3042)
Browse files Browse the repository at this point in the history
## About this PR
πŸ“¦ Updates
[org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt)
from `3.7.4` to `3.7.5`

πŸ“œ [GitHub Release
Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.7.5) -
[Version
Diff](scalameta/scalafmt@v3.7.4...v3.7.5)

## Usage
βœ… **Please merge!**

I'll automatically update this PR to resolve conflicts as long as you
don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you
have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a
[`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/2ef77887d3e25d2b5c2d9c893579e0c6ef4a351f/docs/repo-specific-configuration.md)
file.

_Have a fantastic day writing Scala!_

<details>
<summary>πŸ” Files still referring to the old version number</summary>

The following files still refer to the old version number (3.7.4).
You might want to review and update them manually.
```
.git-blame-ignore-revs
```
</details>
<details>
<summary>βš™ Adjust future updates</summary>

Add this to your `.scala-steward.conf` file to ignore future updates of
this dependency:
```
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]
```
Or, add this to slow down future updates of this dependency:
```
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]
```
</details>

<sup>
labels: library-update
</sup>
  • Loading branch information
xerial-bot committed Jun 30, 2023
1 parent 1d0e2cd commit df78e4d
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ fadb726e4d1855de746b61ed1bd3bb229f7e3f95

# Scala Steward: Reformat with scalafmt 3.7.4
0e8da619144130db09893ab9c0fb82dc4cce8604

# Scala Steward: Reformat with scalafmt 3.7.5
6fc8adf4498d80bb3a9fcd8673b82cac985a4b00
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.7.4
version = 3.7.5
project.layout = StandardConvention
runner.dialect = scala213source3
maxColumn = 120
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class FluentdLoggerTest extends AirSpec {

d.build[MetricLoggerFactory] { f =>
val logger = f.getLogger
// Just test the client initialization
// More complete test can be found at FluencyTest
// Just test the client initialization
// More complete test can be found at FluencyTest
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class StaticContentTest extends AirSpec {
check("/html/asset/test.js", "application/javascript")
check("/html/asset/airframe_icon_small.png", "image/png")

// TODO add more coverage
// TODO add more coverage
}

test("read binary file") { (client: FinagleSyncClient) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import scala.util.Try
/**
* Mapping HTTP requests to RPC/Endpoint method call arguments.
*
* http request (path parameters, query parameters, request body (json or msgpack data))
* -> rpc function call arguments (p1:t1, p2:t2, ...)
* http request (path parameters, query parameters, request body (json or msgpack data)) -> rpc function call arguments
* (p1:t1, p2:t2, ...)
*/
object HttpRequestMapper extends LogSupport {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ class RPCStatusTest extends AirSpec {
val v = ValueCodec.fromMsgPack(msgpack)
v shouldBe Value.LongValue(x.code)

// TODO Support unapply(v: Value) is supported in airframe-codec
// val codec = MessageCodec.of[RPCStatus]
// val s1 = codec.fromMsgPack(msgpack)
// info(s1)
// TODO Support unapply(v: Value) is supported in airframe-codec
// val codec = MessageCodec.of[RPCStatus]
// val s1 = codec.fromMsgPack(msgpack)
// info(s1)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ object ParquetStatsReader extends LogSupport {
val colName = col.getPath.mkString(".")
val tpe = col.getPrimitiveType
colName -> Statistics.createStats(tpe)
// We need to specify explicit map element types for Scala 2.12
// We need to specify explicit map element types for Scala 2.12
}.toMap[String, Statistics[_]]

val uncompressedSize = new ColumnMetric()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ trait SvgAttrs {
/**
* Assigns a class name or set of class names to an element. You may assign the same class name or names to any
* number of elements. If you specify multiple class names, they must be separated by whitespace characters. The
* class name of an element has two key roles:
* -As a style sheet selector, for use when an author wants to assign style information to a set of elements.
* -For general usage by the browser. The class can be used to style SVG content using CSS.
* class name of an element has two key roles: -As a style sheet selector, for use when an author wants to assign
* style information to a set of elements. -For general usage by the browser. The class can be used to style SVG
* content using CSS.
*
* Value <list-of-class-names>
*
Expand Down
3 changes: 2 additions & 1 deletion airspec/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ def excludePomDependency(excludes: Seq[String]) = { node: XmlNode =>
}).transform(node).head
}

/** AirSpec build definitions.
/**
* AirSpec build definitions.
*
* To make AirSpec a standalone library without any cyclic project references, AirSpec embeds the source code of
* airframe-log, di, surface, etc.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object Http_01_Interface extends App {
design.build[FinagleServer] { server =>
val serverAddress = server.localAddress

// Wait server termination
// server.waitServerTermination
// Wait server termination
// server.waitServerTermination
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ object Http_02_ObjectMapping extends App with LogSupport {

client.get[Response]("/v1/resource/resource_path")
}
// Add this code to keep running the server process
// server.waitServerTermination
// Add this code to keep running the server process
// server.waitServerTermination
}
}

0 comments on commit df78e4d

Please sign in to comment.