]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix flake exclude matching of .*
authorTerry Wilson <twilson@redhat.com>
Fri, 30 Jan 2015 17:05:34 +0000 (11:05 -0600)
committerTerry Wilson <twilson@redhat.com>
Fri, 30 Jan 2015 17:05:34 +0000 (11:05 -0600)
When using \.* for a match, flake8 tests all files in .venv on my
machine. Replacing this match with ./.* fixes the issue.

Change-Id: If5617daad95e8b33888b672e36f38ade07d7cb89

tox.ini

diff --git a/tox.ini b/tox.ini
index 4154d6276530e52b0244b088b3a51a954f1c21d7..90d6019fd63791a1ded19ebaa9f11e186028a3d3 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -79,7 +79,7 @@ ignore = E125,E126,E128,E129,E265,H305,H404,H405
 show-source = true
 builtins = _
 # TODO(dougw) neutron/tests/unit/vmware exclusion is a temporary services split hack
-exclude = \.*,build,dist,neutron/openstack/common/*,neutron/tests/unit/vmware*
+exclude = ./.*,build,dist,neutron/openstack/common/*,neutron/tests/unit/vmware*
 
 [testenv:pylint]
 deps =