]> git.ipfire.org Git - people/stevee/pakfire.git/commitdiff
Replace pychecker by pylint.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Jan 2013 01:35:45 +0000 (02:35 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Jan 2013 01:35:45 +0000 (02:35 +0100)
Makefile
runpychecker.sh [deleted file]

index 581332ceed5ec28f7a5c7a7275c2a6c816d969e1..c873463130d4d63884a985456774a49bae48ba15 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -39,8 +39,8 @@ install: build
        done
 
 .PHONY: check
-check:
-       ./runpychecker.sh
+check: all
+       PYTHONPATH=python/src/ pylint -E python/pakfire
 
 .PHONY: po
 po:
diff --git a/runpychecker.sh b/runpychecker.sh
deleted file mode 100755 (executable)
index 383be9f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/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 \
-       $(find pakfire -name "*.py" )