diff options
author | Chris Lumens <clumens@redhat.com> | 2007-09-19 17:27:40 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-09-19 17:27:40 +0000 |
commit | 99ca8fc7e66eefe1d457aeedc9375506057bc678 (patch) | |
tree | 24a84ad8c2b9ece07758dbcf25e3d14017596030 /Makefile | |
parent | 481c96f7025eaa99eec896b88e5892544afd5245 (diff) | |
download | anaconda-99ca8fc7e66eefe1d457aeedc9375506057bc678.tar.gz anaconda-99ca8fc7e66eefe1d457aeedc9375506057bc678.tar.xz anaconda-99ca8fc7e66eefe1d457aeedc9375506057bc678.zip |
Update pychecker configuration to be more useful.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |