check_python_script: Update find exclude. Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
diff --git a/.github/travis/check_python_script.sh b/.github/travis/check_python_script.sh index ee34550..90ec67a 100755 --- a/.github/travis/check_python_script.sh +++ b/.github/travis/check_python_script.sh
@@ -20,9 +20,13 @@ ERROR_FILES_UTF_CODING="" FILES_TO_CHECK=`find . \ -type f \( -name '*.py' \) \ - \( -not -path "*/.*/*" -not -path "*/third_party/*" -not -path "*/env/*" \) \ + \( -not -path "*/.*/*" \) \ + \( -not -path "*/build/*" \) \ + \( -not -path "*/env/*" \) \ \( -not -path "*/src/*" \) \ - ` + \( -not -path "*/third_party/*" \) \ + \( -not -path "*/*/__init__.py" \) \ + \( -not -path "./miniconda.sh" \)` for file in $FILES_TO_CHECK; do echo "Checking $file"