diff options
Diffstat (limited to 'build-gluster-org/scripts/python-compliance.sh')
-rw-r--r-- | build-gluster-org/scripts/python-compliance.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build-gluster-org/scripts/python-compliance.sh b/build-gluster-org/scripts/python-compliance.sh index 532170c..875ba67 100644 --- a/build-gluster-org/scripts/python-compliance.sh +++ b/build-gluster-org/scripts/python-compliance.sh @@ -1,4 +1,7 @@ #!/usr/bin/bash +./autogen.sh +./configure --disable-bd-xlator --enable-debug --enable-gnfs --silent grep -rnl '#!/usr/bin/python' | xargs pylint-3 --py3k find . -name '*.py' | xargs pylint-3 --py3k -find . -name '*.in' | xargs file | grep 'Python' | awk '{print $1}' | cut -d: -f 1 | xargs pylint-3 --py3k +find . -name '*.py' | xargs python2 /opt/qa/python_compliance.py +find . -name '*.py' | xargs python3 /opt/qa/python_compliance.py |