]> git.ipfire.org Git - oddments/fireinfo.git/commitdiff
Add pychecker script to test the code.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Jan 2011 13:48:40 +0000 (14:48 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Jan 2011 13:48:40 +0000 (14:48 +0100)
runpychecker.sh [new file with mode: 0755]

diff --git a/runpychecker.sh b/runpychecker.sh
new file mode 100755 (executable)
index 0000000..407b7d6
--- /dev/null
@@ -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