Commit 9242fe52 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis Committed by Christos Stavrakakis
Browse files

ci: Strip \" from `py_files'

We want to pass `py_files' to pep8 command
as arguments and not as one single string.
parent 670cbca4
......@@ -5,10 +5,10 @@ EXCLUDE=migrations,build,setup,,\,,,
# Keep only *.py files
py_files=`echo "$@" | awk '/.*\.py/' RS=" "`
py_files=$(echo "$@" | awk '/.*\.py/' RS=" " ORS=" ")
if [ -z "$py_files" ]; then
echo "No files to be tested"
pep8 --exclude=$EXCLUDE "$py_files"
pep8 --exclude=$EXCLUDE $py_files
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