Permalink
Browse files

Couple of pychecker fixes

  • Loading branch information...
1 parent 947c4c3 commit dff44ca9f640353ac4881a13963574b118d882ed @sebastien committed Apr 29, 2012
Showing with 94 additions and 77 deletions.
  1. +7 −3 Makefile
  2. +87 −74 Sources/daemonwatch.py
View
@@ -104,6 +104,11 @@ prepare:
$(PYTHONHOME)/$(PACKAGE)
@echo "Preparing done."
+release: $(PRODUCT)
+ git tag $(VERSION) ; true
+ git push --tags ; true
+ python setup.py clean sdist register upload
+
clean:
@echo "Cleaning $(PROJECT)."
@find . -name "*.pyc" -or -name "*.sw?" -or -name ".DS_Store" -or -name "*.bak" -or -name "*~" -exec rm '{}' ';'
@@ -112,14 +117,13 @@ clean:
check:
@echo "Checking $(PROJECT) sources :"
ifeq ($(shell basename spam/$(PYCHECKER)),pychecker)
- @$(PYCHECKER) -b $(CHECK_BLACKLIST) $(SOURCE_FILES)
+ @$(PYCHECKER) --limit 100 -b $(CHECK_BLACKLIST) $(SOURCE_FILES)
@echo "Checking $(PROJECT) tests :"
- @$(PYCHECKER) -b $(CHECK_BLACKLIST) $(TEST_FILES)
+ @$(PYCHECKER) --limit 100 -b $(CHECK_BLACKLIST) $(TEST_FILES)
else
@echo "You need Pychecker to check $(PROJECT)."
@echo "See <http://pychecker.sf.net>"
endif
-
@echo "done."
test: $(SOURCE_FILES) $(TEST_FILES)
Oops, something went wrong.

0 comments on commit dff44ca

Please sign in to comment.