Commit 670cbca4 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis Committed by Christos Stavrakakis
Browse files

ci: Check only .py files for pep8 errors

parent e01f11c6
# Files to be excluded from pep8 tests
if [ $# -eq 0 ]; then
# Keep only *.py files
py_files=`echo "$@" | awk '/.*\.py/' RS=" "`
if [ -z "$py_files" ]; then
echo "No files to be tested"
pep8 --exclude=$EXCLUDE "$@"
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