root/branches/gajim_0.11.1/scripts/dev/run-pychecker.py
| Revision 5361, 311 bytes (checked in by nk, 3 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #! /usr/bin/env python |
| 2 | # (C) 2006 Nikos Kouremenos <kourem@gmail.com> |
| 3 | |
| 4 | import os |
| 5 | import sys |
| 6 | |
| 7 | if os.getcwd().endswith('dev'): |
| 8 | os.chdir('../../src/') # we were in scripts/dev |
| 9 | |
| 10 | os.system('pychecker --limit 10000 --no-shadowbuiltin *.py &> /tmp/pychecker-gajim.log') |
| 11 | os.system('$EDITOR /tmp/pychecker-gajim.log') |
Note: See TracBrowser
for help on using the browser.
