summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/scripts/python-compliance.sh
blob: 532170c5aca32df4fb82f8b7c711efd5e9bae6be (plain)
1
2
3
4
#!/usr/bin/bash
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