From b09a8e635bd5c77241828abb124b65a49c867fc7 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 24 Jan 2013 02:35:45 +0100 Subject: [PATCH] Replace pychecker by pylint. --- Makefile | 4 ++-- runpychecker.sh | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100755 runpychecker.sh diff --git a/Makefile b/Makefile index 581332cee..c87346313 100644 --- 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 index 383be9fbd..000000000 --- a/runpychecker.sh +++ /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" ) -- 2.39.5