From 58106549a14dc199fd78f32a331a9f06b53968a2 Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Sun, 18 Oct 2009 19:40:09 +0200 Subject: [PATCH] Use pylint instead of pychecker. The latter one has to execute the modules and does not work all the time. --- scripts/dev/{run-pychecker.py => run-pylint.py} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename scripts/dev/{run-pychecker.py => run-pylint.py} (55%) diff --git a/scripts/dev/run-pychecker.py b/scripts/dev/run-pylint.py similarity index 55% rename from scripts/dev/run-pychecker.py rename to scripts/dev/run-pylint.py index b4728b441..c840d8b48 100755 --- a/scripts/dev/run-pychecker.py +++ b/scripts/dev/run-pylint.py @@ -7,8 +7,7 @@ import sys if os.getcwd().endswith('dev'): os.chdir('../../src/') # we were in scripts/dev -os.system('pychecker --limit 10000 --no-shadowbuiltin *.py &> /tmp/pychecker-gajim.log') -os.system('$EDITOR /tmp/pychecker-gajim.log') +os.system("pylint --indent-string='\t' --additional-builtins='_' --disable-msg=C0111,C0103,C0111,C0112 --disable-checker=design " + "".join(sys.argv[1:])) # vim: se ts=3: