summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/scripts/python-compliance.sh
blob: 1f50208df9423c7a805bd76f67786b2160725592 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/bash
set -e
./autogen.sh
./configure --disable-bd-xlator --enable-debug --enable-gnfs --silent
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