fix: scala style checker (#30)

This commit is contained in:
FishJoy 2023-12-12 17:24:20 +08:00 committed by GitHub
parent 73637d860e
commit 09e7461113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ jobs:
cache: 'pip' # caching pip dependencies cache: 'pip' # caching pip dependencies
- run: pip install black==22.3.0 - run: pip install black==22.3.0
- name: Build with Maven - name: Build with Maven
run: mvn -B package --file pom.xml run: mvn -B install --file pom.xml
- name: Upload coverage reports to Codecov - name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v3
env: env:

View File

@ -119,7 +119,7 @@ This file is divided into 3 sections:
</check> </check>
<!-- ??? usually shouldn't be checked into the code base. --> <!-- ??? usually shouldn't be checked into the code base. -->
<check level="warn" class="org.scalastyle.scalariform.NotImplementedErrorUsage" enabled="true"></check> <check level="error" class="org.scalastyle.scalariform.NotImplementedErrorUsage" enabled="true"></check>
<!-- As of SPARK-7558, all tests in Spark should extend o.a.s.SparkFunSuite instead of FunSuite directly --> <!-- As of SPARK-7558, all tests in Spark should extend o.a.s.SparkFunSuite instead of FunSuite directly -->
<check customId="funsuite" level="error" class="org.scalastyle.scalariform.TokenChecker" enabled="true"> <check customId="funsuite" level="error" class="org.scalastyle.scalariform.TokenChecker" enabled="true">