Skip to content

Commit 7c26aa3

Browse files
committed
Add scapegoat quality check
1 parent e19d022 commit 7c26aa3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@
158158
<scope>test</scope>
159159
<classifier>tests</classifier>
160160
</dependency>
161-
<!--dependency>
161+
<dependency>
162162
<groupId>com.sksamuel.scapegoat</groupId>
163163
<artifactId>scalac-scapegoat-plugin_${scala.tools.version}</artifactId>
164164
<scope>provided</scope>
165-
</dependency-->
165+
</dependency>
166166
</dependencies>
167167

168168
<dependencyManagement>
@@ -397,11 +397,11 @@
397397
<scope>test</scope>
398398
</dependency>
399399

400-
<!--dependency>
400+
<dependency>
401401
<groupId>com.sksamuel.scapegoat</groupId>
402402
<artifactId>scalac-scapegoat-plugin_${scala.tools.version}</artifactId>
403403
<version>${scapegoat.version}</version>
404-
</dependency-->
404+
</dependency>
405405

406406
</dependencies>
407407
</dependencyManagement>
@@ -560,7 +560,7 @@
560560
<goals>
561561
<goal>testCompile</goal>
562562
</goals>
563-
<!--configuration>
563+
<configuration>
564564
<args>
565565
<arg>-P:scapegoat:dataDir:${project.build.directory}</arg>
566566
<arg>-P:scapegoat:reports:xml</arg>
@@ -572,7 +572,7 @@
572572
<version>${scapegoat.version}</version>
573573
</compilerPlugin>
574574
</compilerPlugins>
575-
</configuration-->
575+
</configuration>
576576
</execution>
577577
</executions>
578578
<configuration>

spark-postgres/src/test/scala/io/frama/parisni/spark/postgres/DdlTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ class DdlTest extends QueryTest with SparkSessionTestWrapper {
983983
"LONG_COL",
984984
"ERR_COL")
985985
val schema = data.schema
986-
val tableName = s"TEST_SWAP_BASE"
986+
val tableName = "TEST_SWAP_BASE"
987987
getPgTool().tableCreate(tableName, schema, isUnlogged = true)
988988

989989
data.write

0 commit comments

Comments
 (0)