From 74ef5a48f4fc47039e230f4bb669ffca150fe203 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Thu, 21 Jul 2016 08:42:32 -0700 Subject: Enable Flake8 Checks on QTIP Add '.tox' to list of directories to ignore since it contains unrelated python code in virtualenvs. JIRA: QTIP-89 Change-Id: I577c4ea61fe6b76f7f67ec7c9d4af544d0f73f71 Signed-off-by: Trevor Bramwell --- jjb/releng-macros.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'jjb/releng-macros.yaml') 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) -- cgit 1.2.3-korg