[yum-commits] Branch 'yum-3_2_X' - Makefile test/yum-pylintrc

Tim Lauridsen timlau at osuosl.org
Mon Oct 12 16:20:35 UTC 2009


 Makefile          |    4 ++--
 test/yum-pylintrc |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 56934e4c6afaccdbf69abc4354537dfa9dc270ac
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date:   Mon Oct 12 18:02:39 2009 +0200

    Silence all the stupid Runtime error maximum recursion depth exceeded in XXX
    messages when running pylint in python 2.6.
    
    http://bugs.python.org/issue5508
    
    Add some nice colors to the pylint output

diff --git a/Makefile b/Makefile
index 07e5d29..3f1b54f 100644
--- a/Makefile
+++ b/Makefile
@@ -56,10 +56,10 @@ test-skipbroken:
 check: test
 
 pylint:
-	@pylint --rcfile=test/yum-pylintrc --ignore=$(PYLINT_IGNORE) $(PYLINT_MODULES)
+	@pylint --rcfile=test/yum-pylintrc --ignore=$(PYLINT_IGNORE) $(PYLINT_MODULES) 2>/dev/null
 
 pylint-short:
-	@pylint -r n --rcfile=test/yum-pylintrc --ignore=$(PYLINT_IGNORE) $(PYLINT_MODULES)
+	@pylint -r n --rcfile=test/yum-pylintrc --ignore=$(PYLINT_IGNORE) $(PYLINT_MODULES) 2>/dev/null
 
 changelog:
 	git log --since=2007-05-16 --pretty --numstat --summary | git2cl  > ChangeLog
diff --git a/test/yum-pylintrc b/test/yum-pylintrc
index bb9339a..dd3db57 100644
--- a/test/yum-pylintrc
+++ b/test/yum-pylintrc
@@ -89,7 +89,7 @@ disable-msg=E1101,F0401,W0704,W0612,W0212,W0613,W0602,W0511,W0401,W0614,W0232,W0
 
 # set the output format. Available formats are text, parseable, colorized, msvs
 # (visual studio) and html
-output-format=text
+output-format=colorized
 
 # Include message's id in output
 include-ids=yes


More information about the Yum-commits mailing list