diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2016-07-21 08:42:32 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2016-07-21 08:50:44 -0700 |
commit | 74ef5a48f4fc47039e230f4bb669ffca150fe203 (patch) | |
tree | a09ccd3f3dc3ae00a79c0daa1170380a1d64931a /jjb | |
parent | 6e3de12d3a2027b6a135986301ab3e6b1d9998d5 (diff) |
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 <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/opnfv/opnfv-lint.yml | 2 | ||||
-rw-r--r-- | jjb/releng-macros.yaml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/jjb/opnfv/opnfv-lint.yml b/jjb/opnfv/opnfv-lint.yml index 4f3f7ac1b..9611a380c 100644 --- a/jjb/opnfv/opnfv-lint.yml +++ b/jjb/opnfv/opnfv-lint.yml @@ -51,7 +51,7 @@ comment-contains-value: 'reverify' projects: - project-compare-type: 'REG_EXP' - project-pattern: 'functest|sdnvpn' + project-pattern: 'functest|sdnvpn|qtip' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' 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) |