summaryrefslogtreecommitdiffstats
path: root/jjb/releng-macros.yaml
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2016-07-21 17:55:40 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-21 17:55:40 +0000
commit67d60f64324a1ae1beb802f21f99ace800df41e5 (patch)
tree46b41dfbb11a12c37b4e00fd417b169c16a93f3a /jjb/releng-macros.yaml
parentfa934396c23d95ba5a3465ff884f2478d52455af (diff)
parent74ef5a48f4fc47039e230f4bb669ffca150fe203 (diff)
Merge "Enable Flake8 Checks on QTIP"
Diffstat (limited to 'jjb/releng-macros.yaml')
-rw-r--r--jjb/releng-macros.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml
index 7733abac4..a69badbf4 100644
--- a/jjb/releng-macros.yaml
+++ b/jjb/releng-macros.yaml
@@ -349,6 +349,7 @@
# empty string: ""
FLAKE_COUNT="$(find . \
-path './releng_flake8' -prune -o \
+ -path './.tox' -prune -o \
-type f -name "*.py" -print | \
xargs flake8 --exit-zero -qq --count 2>&1)"
@@ -359,6 +360,7 @@
echo "Flake8 Violations: $FLAKE_COUNT" > lint.log
find . \
-path './releng_flake8' -prune -o \
+ -path './.tox' -prune -o \
-type f -name "*.py" -print | \
xargs flake8 --exit-zero --first >> violation.log
SHOWN=$(wc -l violation.log | cut -d' ' -f1)