From 6f58827b7f4534916fbfe818a6e0c5a64aae26b3 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 15 Jan 2007 20:55:39 +0000 Subject: Add a pylint script. No fixes for now, see TODO in the script. --- diff --git a/pylint.sh b/pylint.sh new file mode 100755 index 0000000..cd4b407 --- /dev/null +++ b/pylint.sh @@ -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 -- cgit v0.9.1