gajim-plural/scripts/dev/run-pylint.py

11 lines
347 B
Python
Executable File

#!/usr/bin/env python
# (C) 2006 Nikos Kouremenos <kourem@gmail.com>
import os
import sys
if os.getcwd().endswith('dev'):
os.chdir('../../gajim/') # we were in scripts/dev
os.system("pylint --include-ids=y --additional-builtins='_' --disable-msg=C0103,C0111,W0703,W0511,W0142,W0613,R0201 --disable-checker=design " + "".join(sys.argv[1:]))