diff options
Diffstat (limited to 'tools/checkstyle/checkstyle_suppression.xml')
-rw-r--r-- | tools/checkstyle/checkstyle_suppression.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/checkstyle/checkstyle_suppression.xml b/tools/checkstyle/checkstyle_suppression.xml new file mode 100644 index 0000000..6bf7b21 --- /dev/null +++ b/tools/checkstyle/checkstyle_suppression.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> +<suppressions> + + <!-- Note: Checkstyle puts the absolute path of files through the suppress filter, so the + patterns below will match sub-directories. Notably, for overlays where the path is + something like overlay/frameworks/opt/setupwizard will match the regex filter + "frameworks/opt/setupwizard". This is probably OK for most cases since they are overlay + of the original app and should have the same coding style. --> + + <!-- Robolectric uses magic method names like `__constructor__` --> + <suppress files="/robotest/" checks="MethodName" /> + +</suppressions> |