From 794494e88fa7d72badd05da28eeb1d9f8596e33f Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Fri, 28 Oct 2016 10:08:35 -0700 Subject: [PATCH] Add tests/test-data/ to test file list for Checkstyle This will skip javadoc checks for Java files in tests/test-data. Bug: None Test: None Change-Id: I517f7d28d49e66c6c7029787e377fbbfe6df8154 --- tools/checkstyle/checkstyle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/checkstyle/checkstyle.py b/tools/checkstyle/checkstyle.py index 63fd92060..4c3bf17f6 100755 --- a/tools/checkstyle/checkstyle.py +++ b/tools/checkstyle/checkstyle.py @@ -36,7 +36,7 @@ FORCED_RULES = ['com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck 'com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck'] SKIPPED_RULES_FOR_TEST_FILES = ['com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck', 'com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck'] -SUBPATH_FOR_TEST_FILES = ['/tests/java/', '/tests/src/'] +SUBPATH_FOR_TEST_FILES = ['/tests/java/', '/tests/src/', '/tests/test-data/'] ERROR_UNCOMMITTED = 'You need to commit all modified files before running Checkstyle\n' ERROR_UNTRACKED = 'You have untracked java files that are not being checked:\n'