diff options
author | Stephan Erb <steve-e@h3c.de> | 2009-10-18 21:40:09 +0400 |
---|---|---|
committer | Stephan Erb <steve-e@h3c.de> | 2009-10-18 21:40:09 +0400 |
commit | 58106549a14dc199fd78f32a331a9f06b53968a2 (patch) | |
tree | 70a44dd9f0b18067b7f4f250db4693c16c3a8f8a /scripts | |
parent | ae5dbe07742f02435b90875343020fd8f3981c55 (diff) |
Use pylint instead of pychecker.
The latter one has to execute the modules and does not work all the time.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dev/run-pylint.py (renamed from scripts/dev/run-pychecker.py) | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/dev/run-pychecker.py b/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: |