diff options
Diffstat (limited to 'pep8.sh')
-rwxr-xr-x | pep8.sh | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1,5 +1,14 @@ #!/bin/bash -echo -e "\nRunning: (pep8 --show-source --show-pep8 --select=errors --testsuite=.)\n\n" -pep8 --show-source --show-pep8 --select=errors --testsuite=./ -echo -e "\n\n" +echo -e "\nRunning: pep8 ... \n" + +# Ignoring autogenerated files +# -- Migration directories +# Ignoring error codes +# -- E128 continuation line under-indented for visual indent +# -- E225 missing whitespace around operator +# -- E501 line too long + +pep8 --exclude=migrations --ignore=E128,E225,E501 slugify test.py setup.py + +echo -e "Done.\n" |