From 5d986e3121e8fb275f011c2cb347d9d24edca7c3 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Thu, 15 Nov 2012 11:27:06 -0500 Subject: [PATCH] Make tox.ini run pep8/hacking checks on bin. 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 --- tox.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a9edab8a9..afb9d3317 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,11 @@ commands = /bin/bash run_tests.sh -N -P {posargs} [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} -- 2.45.2