Browse Source

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
Felipe Monteiro 4 months ago
parent
commit
e3f6efbb1f
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      tools/gate/whitespace-linter.sh

+ 2
- 0
tools/gate/whitespace-linter.sh View File

@@ -5,7 +5,9 @@ RES=$(find . \
5 5
   -not -path "*/\.*" \
6 6
   -not -path "*/doc/build/*" \
7 7
   -not -path "*/doc/source/images/*" \
8
+  -not -path "*/htmlcov/*" \
8 9
   -not -name "*.tgz" \
10
+  -not -name "*.pyc" \
9 11
   -type f -exec egrep -l " +$" {} \;)
10 12
 
11 13
 if [[ -n $RES ]]; then

Loading…
Cancel
Save