remove nocoding

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3019 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2006-01-12 00:40:39 +00:00
parent 0e688d1ea3
commit 901d352802

View file

@ -138,19 +138,3 @@ diff:
diff -u linkcheck/$${f}2.py $(PYTHONSVN)/Lib/$${f}.py | less; \
done
# Find Python files without coding line.
.PHONY: nocoding
nocoding:
@for f in `find . -type f -name \*.py`; do \
if ! grep -q -- "-\*- coding: .* -\*-" $$f; then \
echo "No coding: $$f"; \
fi; \
done
@for f in `find . -type f`; do \
if head -1 $$f | egrep -q "#!.*python"; then \
if ! grep -q -- "-\*- coding: .* -\*-" $$f; then \
echo "No coding: $$f"; \
fi; \
fi; \
done