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 23 lines (18 sloc) 0.426 kB
#!/bin/bash
dir=$(dirname $0)
# pep8
output=$(find $dir/reddit -name [A-Za-z_]\*.py -exec pep8 {} \;)
if [ -n "$output" ]; then
echo "---pep8---"
echo -e "$output"
exit 1
fi
# pylint
output=$(pylint --rcfile=$dir/.pylintrc $dir/reddit 2> /dev/null)
if [ -n "$output" ]; then
echo "--pylint--"
echo -e "$output"
fi
echo "---pyflakes---"
find $dir/reddit -name [A-Za-z_]\*.py -exec pyflakes {} \;
exit 0
Jump to Line
Something went wrong with that request. Please try again.