changeset 8bde50303ae8 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=8bde50303ae8 description: Use pylint instead of pychecker.
The latter one has to execute the modules and does not work all the time.
diffstat:
scripts/dev/run-pychecker.py | 14 -------------- scripts/dev/run-pylint.py | 13 +++++++++++++ 2 files changed, 13 insertions(+), 14 deletions(-)
diffs (35 lines):
diff -r 4261f0222eee -r 8bde50303ae8 scripts/dev/run-pychecker.py --- a/scripts/dev/run-pychecker.py Sun Oct 18 19:38:32 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -#!/usr/bin/env python -# (C) 2006 Nikos Kouremenos kourem@gmail.com - -import os -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') - - -# vim: se ts=3: diff -r 4261f0222eee -r 8bde50303ae8 scripts/dev/run-pylint.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/dev/run-pylint.py Sun Oct 18 19:40:09 2009 +0200 @@ -0,0 +1,13 @@ +#!/usr/bin/env python +# (C) 2006 Nikos Kouremenos kourem@gmail.com + +import os +import sys + +if os.getcwd().endswith('dev'): + os.chdir('../../src/') # we were in scripts/dev + +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: