aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rwxr-xr-xdev/run-tests.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev/run-tests.py b/dev/run-tests.py
index 8726889cbc..795db0dcfb 100755
--- a/dev/run-tests.py
+++ b/dev/run-tests.py
@@ -529,9 +529,14 @@ def main():
run_apache_rat_checks()
# style checks
- if not changed_files or any(f.endswith(".scala") for f in changed_files):
+ if not changed_files or any(f.endswith(".scala")
+ or f.endswith("scalastyle-config.xml")
+ for f in changed_files):
run_scala_style_checks()
- if not changed_files or any(f.endswith(".java") for f in changed_files):
+ if not changed_files or any(f.endswith(".java")
+ or f.endswith("checkstyle.xml")
+ or f.endswith("checkstyle-suppressions.xml")
+ for f in changed_files):
# run_java_style_checks()
pass
if not changed_files or any(f.endswith(".py") for f in changed_files):