From e3f6efbb1f90541066d6daed854ad89bce340afd Mon Sep 17 00:00:00 2001 From: Felipe Monteiro Date: Sun, 25 Nov 2018 12:30:56 -0500 Subject: [PATCH] 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 --- tools/gate/whitespace-linter.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/gate/whitespace-linter.sh b/tools/gate/whitespace-linter.sh index 7e48b834..031a6b45 100755 --- a/tools/gate/whitespace-linter.sh +++ b/tools/gate/whitespace-linter.sh @@ -5,7 +5,9 @@ RES=$(find . \ -not -path "*/\.*" \ -not -path "*/doc/build/*" \ -not -path "*/doc/source/images/*" \ + -not -path "*/htmlcov/*" \ -not -name "*.tgz" \ + -not -name "*.pyc" \ -type f -exec egrep -l " +$" {} \;) if [[ -n $RES ]]; then