deckhand/tools/whitespace-linter.sh
Sergiy Markin dacedae17b Airflow and Openstack modules upgrade
This PS upgrades Airflow to 2.10.4 and Openstack
modules to 2024.1 Caracal versions

Change-Id: I577520cddaa73f9e1441922ccd67f75a5f1c3908
2024-12-18 14:17:32 +00:00

24 lines
521 B
Bash
Executable File

#!/usr/bin/env bash
set -xe
RES=$(find . \
-not -path "*/\.*" \
-not -path "*/venv/*" \
-not -path "*/venv3/*" \
-not -path "*/tmp.*" \
-not -path "*/*.egg-info/*" \
-not -path "*/releasenotes/build/*" \
-not -path "*/doc/build/*" \
-not -path "*/doc/source/images/*" \
-not -path "*/keybd_*.png" \
-not -name "*.tgz" \
-not -name "*.html" \
-not -name "favicon_32.png" \
-not -name "*.pyc" \
-not -path "*/cover/*" \
-type f -exec egrep -l " +$" {} \;)
if [[ -n $RES ]]; then
exit 1
fi