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