[yum-commits] Branch 'yum-3_2_X' - Makefile
Tim Lauridsen
timlau at osuosl.org
Mon Mar 30 13:48:50 UTC 2009
Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
New commits:
commit d8eba2c3b050bfdd4bb924abe8b00ae546f56eb8
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date: Mon Mar 30 15:41:51 2009 +0200
Cleanup pylint Makefile targets and excluded oldUtils.py
diff --git a/Makefile b/Makefile
index 42ded96..366e6b8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
SUBDIRS = rpmUtils yum etc docs po
PYFILES = $(wildcard *.py)
-PYLINT_FILES = $(wildcard *.py) $(wildcard yum/*.py) $(wildcard rpmUtils/*.py)
+PYLINT_MODULES = *.py yum rpmUtils
+PYLINT_IGNORE = oldUtils.py
PKGNAME = yum
VERSION=$(shell awk '/Version:/ { print $$2 }' ${PKGNAME}.spec)
@@ -55,10 +56,10 @@ test-skipbroken:
check: test
pylint:
- @pylint --rcfile=test/yum-pylintrc $(PYLINT_FILES)
+ @pylint --rcfile=test/yum-pylintrc --ignore=$(PYLINT_IGNORE) $(PYLINT_MODULES)
-pylint-errors:
- @pylint -e --rcfile=test/yum-pylintrc $(PYLINT_FILES)
+pylint-short:
+ @pylint -r n --rcfile=test/yum-pylintrc --ignore=$(PYLINT_IGNORE) $(PYLINT_MODULES)
changelog:
git log --since=2007-05-16 --pretty --numstat --summary | git2cl > ChangeLog
More information about the Yum-commits
mailing list