zaqar/tools/run_pep8.sh
kgriffs 746d59576d chore: Remove bin/marconi-self-host
This directory is no longer necessary, and the script is out of
date. marconi/bin is the new home for this sort of stuff.

Change-Id: I67b95dad314389d567d623521b69df9093c77dff
2013-04-05 18:08:05 -04:00

16 lines
429 B
Bash
Executable File

#!/bin/bash
set -e
# This is used by run_tests.sh and tox.ini
python tools/hacking.py --doctest
# Until all these issues get fixed, ignore.
PEP8='python tools/hacking.py --ignore=N404'
EXCLUDE='--exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*'
EXCLUDE+=',./tools'
EXCLUDE+=',*egg,build'
${PEP8} ${EXCLUDE} .
! pyflakes marconi/ | grep "imported but unused\|redefinition of function" | grep -v "__init__.py"