From: Michael Tremer Date: Wed, 5 Jan 2011 13:48:40 +0000 (+0100) Subject: Add pychecker script to test the code. X-Git-Tag: v2.0.2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf0cbb9e0d3f25c0f0d8a473a174835d63ba3268;p=oddments%2Ffireinfo.git Add pychecker script to test the code. --- diff --git a/runpychecker.sh b/runpychecker.sh new file mode 100755 index 0000000..407b7d6 --- /dev/null +++ b/runpychecker.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +pychecker --only --limit 1000 \ + --maxlines 500 --maxargs 20 --maxbranches 80 --maxlocals 60 --maxreturns 20 \ + --no-callinit --no-local --no-shadow --no-shadowbuiltin \ + --no-import --no-miximport --no-pkgimport --no-reimport \ + --no-argsused --no-varargsused --no-override \ + fireinfo/*.py