]>
Commit | Line | Data |
---|---|---|
91d1c8a9 MT |
1 | From b09a8e635bd5c77241828abb124b65a49c867fc7 Mon Sep 17 00:00:00 2001 |
2 | From: Michael Tremer <michael.tremer@ipfire.org> | |
3 | Date: Thu, 24 Jan 2013 02:35:45 +0100 | |
4 | Subject: [PATCH 03/17] Replace pychecker by pylint. | |
5 | ||
6 | --- | |
7 | Makefile | 4 ++-- | |
8 | runpychecker.sh | 8 -------- | |
9 | 2 files changed, 2 insertions(+), 10 deletions(-) | |
10 | delete mode 100755 runpychecker.sh | |
11 | ||
12 | diff --git a/Makefile b/Makefile | |
13 | index 581332c..c873463 100644 | |
14 | --- a/Makefile | |
15 | +++ b/Makefile | |
16 | @@ -39,8 +39,8 @@ install: build | |
17 | done | |
18 | ||
19 | .PHONY: check | |
20 | -check: | |
21 | - ./runpychecker.sh | |
22 | +check: all | |
23 | + PYTHONPATH=python/src/ pylint -E python/pakfire | |
24 | ||
25 | .PHONY: po | |
26 | po: | |
27 | diff --git a/runpychecker.sh b/runpychecker.sh | |
28 | deleted file mode 100755 | |
29 | index 383be9f..0000000 | |
30 | --- a/runpychecker.sh | |
31 | +++ /dev/null | |
32 | @@ -1,8 +0,0 @@ | |
33 | -#!/bin/bash | |
34 | - | |
35 | -pychecker --only --limit 1000 \ | |
36 | - --maxlines 500 --maxargs 20 --maxbranches 80 --maxlocals 60 --maxreturns 20 \ | |
37 | - --no-callinit --no-local --no-shadow --no-shadowbuiltin \ | |
38 | - --no-import --no-miximport --no-pkgimport --no-reimport \ | |
39 | - --no-argsused --no-varargsused --no-override \ | |
40 | - $(find pakfire -name "*.py" ) | |
41 | -- | |
42 | 1.8.1.2 | |
43 |