diff options
author | Nigel Babu <nigelb@redhat.com> | 2018-09-03 21:18:10 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-09-03 21:18:10 +0530 |
commit | 65ec08b624e3966b1da7baacdea3e4347e188962 (patch) | |
tree | 51c8e9ad8cccb541ffe121e5ec3bf2e7b948c9a1 /build-gluster-org/scripts/python-compliance.sh | |
parent | 55f1949776a56140b3fb8247a5d680bb29359308 (diff) |
Fix bugs in python-compliance tests
Change-Id: I2f19695308549265e4a531443b13d153d3f911ed
Diffstat (limited to 'build-gluster-org/scripts/python-compliance.sh')
-rw-r--r-- | build-gluster-org/scripts/python-compliance.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-gluster-org/scripts/python-compliance.sh b/build-gluster-org/scripts/python-compliance.sh index 875ba67..1f50208 100644 --- a/build-gluster-org/scripts/python-compliance.sh +++ b/build-gluster-org/scripts/python-compliance.sh @@ -1,7 +1,8 @@ #!/usr/bin/bash +set -e ./autogen.sh ./configure --disable-bd-xlator --enable-debug --enable-gnfs --silent -grep -rnl '#!/usr/bin/python' | xargs pylint-3 --py3k +grep -rnl --exclude-dir='.git' '#!/usr/bin/python' | xargs pylint-3 --py3k find . -name '*.py' | xargs pylint-3 --py3k find . -name '*.py' | xargs python2 /opt/qa/python_compliance.py find . -name '*.py' | xargs python3 /opt/qa/python_compliance.py |