mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-17 19:11:06 +00:00
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:
parent
0e688d1ea3
commit
901d352802
1 changed files with 0 additions and 16 deletions
16
Makefile
16
Makefile
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue