From 474768b2685ebba5bb2d5f8e40dac5dde2953b9d Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 30 Jun 2013 13:11:00 +0200 Subject: catch pylint return code --- tests/code_analysis.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/code_analysis.sh') diff --git a/tests/code_analysis.sh b/tests/code_analysis.sh index 85b177223..052ddcdf2 100755 --- a/tests/code_analysis.sh +++ b/tests/code_analysis.sh @@ -3,7 +3,6 @@ sloccount --duplicates --wide --details pyload > sloccount.sc echo "Running pep8" - pep8 pyload > pep8.txt #echo "Running pyflakes" @@ -13,4 +12,6 @@ pep8 pyload > pep8.txt #cat pyflakes.log | awk -F\: '{printf "%s:%s: [E]%s\n", $1, $2, $3}' | grep -i -E -v "'_'|pypath|webinterface|pyreq|addonmanager" > pyflakes.txt #sed -i 's/^.\///g' pyflakes.txt -pylint pyload > pylint.txt \ No newline at end of file + +echo "Running pylint" +pylint --reports=no pyload > pylint.txt || return 0 \ No newline at end of file -- cgit v1.2.3