[blivet:master 03/16] Omit pylint warning about disabled warnings or errors from pylint log.

mulhern amulhern at redhat.com
Thu May 1 13:08:40 UTC 2014


Signed-off-by: mulhern <amulhern at redhat.com>
---
 tests/pylint/runpylint.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/pylint/runpylint.sh b/tests/pylint/runpylint.sh
index 5eda05d..95aed49 100755
--- a/tests/pylint/runpylint.sh
+++ b/tests/pylint/runpylint.sh
@@ -54,7 +54,8 @@ export DISABLED_ERR_OPTIONS="--disable=E1103"
 # W0603 - Using the global statement
 # W0613 - Unused argument %r
 # W0614 - Unused import %s from wildcard import
-export DISABLED_WARN_OPTIONS="--disable=W0110,W0141,W0142,W0511,W0603,W0613,W0614"
+# I0011 - Locally disabling %s (i.e., pylint: disable)
+export DISABLED_WARN_OPTIONS="--disable=W0110,W0141,W0142,W0511,W0603,W0613,W0614,I0011"
 
 usage () {
   echo "usage: `basename $0` [--strict] [--help] [files...]"
-- 
1.8.3.1



More information about the anaconda-patches mailing list