HyukjinKwon commented on a change in pull request #24065: [SPARK-27130][BUILD]
Automatically select profile when executing sbt-checkstyle
URL: https://github.com/apache/spark/pull/24065#discussion_r264611108
##########
File path: dev/run-tests.py
##########
@@ -180,9 +180,9 @@ def run_scala_style_checks():
run_cmd([os.path.join(SPARK_HOME, "dev", "lint-scala")])
-def run_java_style_checks():
+def run_java_style_checks(build_profiles):
Review comment:
and .. let's also leave a comment saying, "The same profiles used for
building are used to run Checkstyle by SBT as well because the previous build
looks reused for Checkstyle and affecting Checkstyle. See SPARK-27130."
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]