diff --git a/scripts/dev/run-pychecker.py b/scripts/dev/run-pychecker.py new file mode 100755 index 000000000..a600c8498 --- /dev/null +++ b/scripts/dev/run-pychecker.py @@ -0,0 +1,12 @@ +#! /usr/bin/env python +# (C) 2006 Nikos Kouremenos + +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') +