summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-09-19 17:27:40 +0000
committerChris Lumens <clumens@redhat.com>2007-09-19 17:27:40 +0000
commit99ca8fc7e66eefe1d457aeedc9375506057bc678 (patch)
tree24a84ad8c2b9ece07758dbcf25e3d14017596030 /Makefile
parent481c96f7025eaa99eec896b88e5892544afd5245 (diff)
downloadanaconda-99ca8fc7e66eefe1d457aeedc9375506057bc678.tar.gz
anaconda-99ca8fc7e66eefe1d457aeedc9375506057bc678.tar.xz
anaconda-99ca8fc7e66eefe1d457aeedc9375506057bc678.zip
Update pychecker configuration to be more useful.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d6a63ce27..9a8d0e101 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,9 @@ SUBDIRS += liveinst
SUBDIRS += gptsync
endif
+PYCHECKERPATH=isys:textw:iw:installclasses:/usr/lib/booty:/usr/share/system-config-date
+PYCHECKEROPTS=-F pycheckrc-for-anaconda
+
CATALOGS = po/anaconda.pot
PYFILES = $(wildcard *.py)
@@ -121,10 +124,10 @@ create-archive:
make create-snapshot
pycheck:
- PYTHONPATH=isys:textw:iw:installclasses:booty:booty/edd pychecker *.py textw/*.py iw/*.py installclasses/*.py command-stubs/*-stub | grep -v "__init__() not called"
+ PYTHONPATH=$(PYCHECKERPATH) pychecker $(PYCHECKEROPTS) *.py textw/*.py iw/*.py installclasses/*.py | grep -v "__init__() not called"
pycheck-file:
- PYTHONPATH=.:isys:textw:iw:installclasses:booty:booty/edd pychecker $(CHECK) | grep -v "__init__() not called"
+ PYTHONPATH=.:$(PYCHECKERPATH) pychecker $(PYCHECKEROPTS) $(CHECK) | grep -v "__init__() not called"
PKGNAME=anaconda
local: clean