summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Monteiro <felipe.monteiro@att.com>2018-11-25 12:30:56 -0500
committerFelipe Monteiro <felipe.monteiro@att.com>2018-11-25 12:30:56 -0500
commite3f6efbb1f90541066d6daed854ad89bce340afd (patch)
treef81612cb8c6dd85febc6961af49b69c93b3d8896
parenta3da86e3119d150a4f36fd93657455e6ec0c51ed (diff)
trivial: fix whitespace-linter catching false positives
Ignores .pyc files and files contained in htmlcov as a coverage job was recently added. Change-Id: I33b1b88e90060f3b26f41b6acbbc0c7091caeb57
Notes
Notes (review): Code-Review+1: Tin Lam <tin@irrational.io> Code-Review+2: Aaron Sheffield <ajs@sheffieldfamily.net> Code-Review+2: Felipe Monteiro <felipe.monteiro@att.com> Workflow+1: Felipe Monteiro <felipe.monteiro@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sun, 23 Dec 2018 18:55:01 +0000 Reviewed-on: https://review.openstack.org/619937 Project: openstack/airship-pegleg Branch: refs/heads/master
-rwxr-xr-xtools/gate/whitespace-linter.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gate/whitespace-linter.sh b/tools/gate/whitespace-linter.sh
index 7e48b83..031a6b4 100755
--- a/tools/gate/whitespace-linter.sh
+++ b/tools/gate/whitespace-linter.sh
@@ -5,7 +5,9 @@ RES=$(find . \
5 -not -path "*/\.*" \ 5 -not -path "*/\.*" \
6 -not -path "*/doc/build/*" \ 6 -not -path "*/doc/build/*" \
7 -not -path "*/doc/source/images/*" \ 7 -not -path "*/doc/source/images/*" \
8 -not -path "*/htmlcov/*" \
8 -not -name "*.tgz" \ 9 -not -name "*.tgz" \
10 -not -name "*.pyc" \
9 -type f -exec egrep -l " +$" {} \;) 11 -type f -exec egrep -l " +$" {} \;)
10 12
11if [[ -n $RES ]]; then 13if [[ -n $RES ]]; then