From 65ec08b624e3966b1da7baacdea3e4347e188962 Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Mon, 3 Sep 2018 21:18:10 +0530 Subject: Fix bugs in python-compliance tests Change-Id: I2f19695308549265e4a531443b13d153d3f911ed --- build-gluster-org/scripts/python-compliance.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build-gluster-org/scripts/python-compliance.sh') 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 -- cgit