From 6b786006462a36870f273f1144fb2a8dcf203ee7 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 15 May 2006 18:48:08 +0000 Subject: Merge SVGdraw.py --- (limited to 'pylint.sh') diff --git a/pylint.sh b/pylint.sh new file mode 100755 index 0000000..4de5a50 --- /dev/null +++ b/pylint.sh @@ -0,0 +1,32 @@ +#!/bin/sh + +# Errors that we may fix in the future +# +# C0301 Line length +# W0201 Attribute defined outside __init__ +# R0201 Method could be a function +TODO="C0301,W0201,R0201" + +# Errors we don't like +# +# W0613 Unused argument (glib signals) +# W0511 - FIXME/TODO/XXX +DISABLE="W0613,W0511" + +MSGS="$TODO,$DISABLE" +ARG="sugar" + +pylint \ + --disable-all \ + --include-ids=y \ + --enable-variables=y \ + --enable-exceptions=y \ + --enable-miscellaneous=y \ + --enable-format=y \ + --enable-classes=y \ + --disable-msg=$MSGS \ + --reports=n \ + --enable-metrics=n \ + --indent-string=" " \ + --ignore="SVGdraw.py" \ + $ARG -- cgit v0.9.1