diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 00000000..dc97a843 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Scala Steward: Reformat with scalafmt 3.7.12 +ef0b6307357101909d3a58213d44dbad8a6c43c7 diff --git a/.scalafmt.conf b/.scalafmt.conf index 7db56aa8..9d52d6df 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ runner.dialect = scala213 -version=3.7.3 +version=3.7.12 maxColumn = 120 rewrite.rules = [AvoidInfix] diff --git a/core-tests/build.sbt b/core-tests/build.sbt index 05bff2aa..fc0607ec 100644 --- a/core-tests/build.sbt +++ b/core-tests/build.sbt @@ -1,9 +1,9 @@ name := "overflowdb-core-tests" -publish/skip := true +publish / skip := true libraryDependencies ++= Seq( - "com.github.sbt" % "junit-interface" % "0.13.3" % Test, + "com.github.sbt" % "junit-interface" % "0.13.3" % Test ) -Test/testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v") +Test / testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v") diff --git a/formats/build.sbt b/formats/build.sbt index 1359de2d..3147be3f 100644 --- a/formats/build.sbt +++ b/formats/build.sbt @@ -8,4 +8,4 @@ libraryDependencies ++= Seq( "io.spray" %% "spray-json" % "1.3.6" ) -Test/console/scalacOptions -= "-Xlint" +Test / console / scalacOptions -= "-Xlint" diff --git a/testdomains/build.sbt b/testdomains/build.sbt index ea2873d3..898c4ddd 100644 --- a/testdomains/build.sbt +++ b/testdomains/build.sbt @@ -1,3 +1,3 @@ name := "testdomains" -publish/skip := true +publish / skip := true diff --git a/traversal-tests/build.sbt b/traversal-tests/build.sbt index 70897f83..def61517 100644 --- a/traversal-tests/build.sbt +++ b/traversal-tests/build.sbt @@ -1,5 +1,5 @@ name := "overflowdb-traversal-tests" -publish/skip := true +publish / skip := true -Test/console/scalacOptions -= "-Xlint" +Test / console / scalacOptions -= "-Xlint" diff --git a/traversal/build.sbt b/traversal/build.sbt index d73d527a..89507180 100644 --- a/traversal/build.sbt +++ b/traversal/build.sbt @@ -2,5 +2,5 @@ name := "overflowdb-traversal" libraryDependencies ++= Seq( "net.oneandone.reflections8" % "reflections8" % "0.11.7", // go back to reflections once 0.9.13 is released - "com.massisframework" % "j-text-utils" % "0.3.4", + "com.massisframework" % "j-text-utils" % "0.3.4" ) diff --git a/traversal/src/main/scala/overflowdb/traversal/help/TraversalHelp.scala b/traversal/src/main/scala/overflowdb/traversal/help/TraversalHelp.scala index 622bbac1..0ec50611 100644 --- a/traversal/src/main/scala/overflowdb/traversal/help/TraversalHelp.scala +++ b/traversal/src/main/scala/overflowdb/traversal/help/TraversalHelp.scala @@ -14,9 +14,9 @@ import scala.jdk.CollectionConverters._ * There are two use cases for this, which require slightly different implementations 1) `myDomain.help` - for the node * starter steps 2) `myDomain.someNodeType.help` - for steps that are available a specific node type * - * For use case 2, we also take into account all parent traits of a node type, recursively. - * I.e. if `SomeNodeType` has a base type `SomeBaseType`, and there are steps defined for `Traversal[SomeBaseType]`, we - * will include those in the results. + * For use case 2, we also take into account all parent traits of a node type, recursively. I.e. if `SomeNodeType` has + * a base type `SomeBaseType`, and there are steps defined for `Traversal[SomeBaseType]`, we will include those in the + * results. * * @param searchPackages: * The base packages that we scan for - we're not scanning the entire classpath