This updates the pep8 checks in our tox.ini file so that
we are also scanning the bin directory.
Additionally, it updates the main pep8 check so that it scans
cinder properly as well. Previously there were a bunch of files
getting skipped due to some of the pep8 pattern matching.
Change-Id: Ib47a590303409e62546a75625ee356c9fa7af6ad
[testenv:pep8]
deps = pep8==1.1
-commands = pep8 --repeat --show-source cinder setup.py
+commands =
+ python tools/hacking.py --ignore=N4,E12,E711,E721 --repeat --show-source \
+ --exclude=.venv,.tox,dist,doc,openstack,*egg .
+ python tools/hacking.py --ignore=N4,E12,E711,E721 --repeat --show-source \
+ --filename=cinder* bin
[testenv:venv]
commands = {posargs}