diff options
author | Nigel Babu <nigelb@redhat.com> | 2018-03-19 17:15:41 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-04-12 07:18:58 +0000 |
commit | fe4de70b615ee231973b2335c24ee232f2b7a10a (patch) | |
tree | 6523d419a1b7f6f334d75ea558b78a08b00c7e70 | |
parent | a1263c73eb4f1c15052fd5c95de383815a3447b9 (diff) |
Let glusto lint check for flake8 and pylint
Change-Id: Icc0de05f49659d6f8fd4e100326d92b3209ef650
-rw-r--r-- | build-gluster-org/jobs/glusto-tests-lint.yml | 1 | ||||
-rw-r--r-- | build-gluster-org/scripts/glusto-lint.sh | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/build-gluster-org/jobs/glusto-tests-lint.yml b/build-gluster-org/jobs/glusto-tests-lint.yml index 9229545..2747870 100644 --- a/build-gluster-org/jobs/glusto-tests-lint.yml +++ b/build-gluster-org/jobs/glusto-tests-lint.yml @@ -32,6 +32,7 @@ gerrit-build-successful-verified-value: 1 gerrit-build-failed-verified-value: -1 server-name: review.gluster.org + failure-message: This patch needs to be rebased to master and any pylint issues need to be fixed projects: - project-compare-type: 'PLAIN' project-pattern: 'glusto-tests' diff --git a/build-gluster-org/scripts/glusto-lint.sh b/build-gluster-org/scripts/glusto-lint.sh index b977996..db9f933 100644 --- a/build-gluster-org/scripts/glusto-lint.sh +++ b/build-gluster-org/scripts/glusto-lint.sh @@ -2,5 +2,5 @@ set -e source /opt/rh/python27/enable virtualenv --system-site-packages env -env/bin/pip install flake8 -env/bin/flake8 +env/bin/pip install tox +env/bin/tox |