2008-07-29 21:49:31 +02:00
|
|
|
#!/usr/bin/env python
|
2006-02-05 13:28:54 +01:00
|
|
|
# (C) 2006 Nikos Kouremenos <kourem@gmail.com>
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
if os.getcwd().endswith('dev'):
|
2010-02-08 15:08:40 +01:00
|
|
|
os.chdir('../../src/') # we were in scripts/dev
|
2006-02-05 13:28:54 +01:00
|
|
|
|
2010-02-17 11:32:55 +01:00
|
|
|
os.system("pylint --include-ids=y --additional-builtins='_' --disable-msg=C0103,C0111,W0703,W0511,W0142,W0613,R0201 --disable-checker=design " + "".join(sys.argv[1:]))
|
2006-02-05 13:28:54 +01:00
|
|
|
|