diff options
author | Nigel Babu <nigelb@redhat.com> | 2016-12-20 07:56:40 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2016-12-20 07:58:17 +0530 |
commit | 6be80b672e3dbdb2a3a034dbf719fa8169b80ed9 (patch) | |
tree | 4aad89afae90810f0d49455639062d25597d294c /build-gluster-org/scripts/glusto-lint.sh | |
parent | 8072fd28bee43b09954215c378da3c09fcaecf83 (diff) |
Create a lint job to ensure glusto passes flake8
Change-Id: Iac5c8c35e2fcee9a88f44145a3cb2149093b1895
Diffstat (limited to 'build-gluster-org/scripts/glusto-lint.sh')
-rw-r--r-- | build-gluster-org/scripts/glusto-lint.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build-gluster-org/scripts/glusto-lint.sh b/build-gluster-org/scripts/glusto-lint.sh new file mode 100644 index 0000000..b977996 --- /dev/null +++ b/build-gluster-org/scripts/glusto-lint.sh @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +source /opt/rh/python27/enable +virtualenv --system-site-packages env +env/bin/pip install flake8 +env/bin/flake8 |