Add a pylint script. No fixes for now, see TODO in the script.
This commit is contained in:
parent
efd10b8959
commit
6f58827b7f
13
pylint.sh
Executable file
13
pylint.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
TODO="C0111,C0301,C0322,W0311,C0324,W0331,W0212,W0611,W0613,W0201,W0106,W0622,W0403,W0612,W0102,W0404,W0704,W0402,W0702,W0401,E0602,W0221,E1111,W0101,W0105,W0601,W0602,W0703,W0701,W0312,W0231,W0233"
|
||||
|
||||
BROKEN="C0103,E1101"
|
||||
|
||||
DISABLE="W0142,R0913,W0621,R0903,R0201,R0904,W0511,W0232,R0902,W0603,R0914,C0302,C0102,I0011,R0911,R0912,R0901,R0801,R0923,R0915"
|
||||
|
||||
PYTHONPATH=.:./shell:$SUGAR_PREFIX/lib/python2.4/site-packages/gtk-2.0:$PYTHONPATH \
|
||||
pylint \
|
||||
--include-ids=y \
|
||||
--disable-msg=$TODO,$BROKEN,$DISABLE \
|
||||
shell sugar
|
Loading…
Reference in New Issue
Block a user