aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThialfihar <thi@thialfihar.org>2014-04-02 01:58:54 +0200
committerThialfihar <thi@thialfihar.org>2014-04-02 10:51:02 +0200
commit22fe3832ba0cf1102d7a2c8d53ad101464bccaff (patch)
treefa38eb33481924d1ec2b9cdbb878430db9ee5dd1 /tools
parent592ab31d866c9b58ce6e831b184301f665558e11 (diff)
downloadopen-keychain-22fe3832ba0cf1102d7a2c8d53ad101464bccaff.tar.gz
open-keychain-22fe3832ba0cf1102d7a2c8d53ad101464bccaff.tar.bz2
open-keychain-22fe3832ba0cf1102d7a2c8d53ad101464bccaff.zip
Suppress checkstyle for some files
Diffstat (limited to 'tools')
-rw-r--r--tools/checkstyle.xml4
-rw-r--r--tools/suppressions.xml12
2 files changed, 14 insertions, 2 deletions
diff --git a/tools/checkstyle.xml b/tools/checkstyle.xml
index 26a3f8c02..95ef07a90 100644
--- a/tools/checkstyle.xml
+++ b/tools/checkstyle.xml
@@ -9,9 +9,9 @@ page at http://checkstyle.sourceforge.net/config.html -->
<module name="OpenPgpChecker">
- <!--<module name="SuppressionFilter">
+ <module name="SuppressionFilter">
<property name="file" value="tools/suppressions.xml"/>
- </module>-->
+ </module>
<module name="RegexpSingleline">
<!-- Requires a copyright notice in each file.
diff --git a/tools/suppressions.xml b/tools/suppressions.xml
new file mode 100644
index 000000000..9173d3a5e
--- /dev/null
+++ b/tools/suppressions.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE suppressions PUBLIC
+ "-//Puppy Crawl//DTD Suppressions 1.1//EN"
+ "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
+
+<suppressions>
+ <suppress files="(Constants|Id|R|PgpConversionHelper)\.java" checks=".*NameCheck"/>
+ <suppress files="Apg.java" checks="LineLength"/>
+ <suppress files="FileDialog.java" checks="StaticVariableNameCheck"/>
+ <suppress files="PRNGFixes.java" checks=".*"/>
+</suppressions>