Commit 909a612d authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

ci: Exit if there are no file to check with pep8

parent 76655a08
...@@ -4,4 +4,8 @@ ...@@ -4,4 +4,8 @@
EXCLUDE=migrations,build,setup,distribute_setup.py,\ EXCLUDE=migrations,build,setup,distribute_setup.py,\
setup.py,rapi.py,dictconfig.py,ordereddict.py setup.py,rapi.py,dictconfig.py,ordereddict.py
pep8 --exclude=$EXCLUDE "$@" if [ $# -eq 0 ]; then
echo "No files to be tested"
else
pep8 --exclude=$EXCLUDE "$@"
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment