Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (15 sloc) 0.399 kB
#!/bin/zsh
check_docformat(){
if ! grep -q '__docformat__' $1 ; then
echo "warning: file '$1' does not contain a '__docformat__' declaration!"
fi
}
check_coding(){
if ! grep -q -e 'coding: utf-8' $1 ; then
echo "warning: file '$1' does not contain a coding declaration!"
fi
}
for f in $( ls pelita/**/*.py ) ; do
check_docformat $f
check_coding $f
done
Jump to Line
Something went wrong with that request. Please try again.