pep8: cleaned up excludes

Don't over-exclude files from pep8 automation. Specifically, tools/*
should maintain common Python style as any other Neutron code.

Don't exclude every single dot-file/dot-dir separately but instead
apply .* wildcard.

Drop rally-scenarios exclusion. First, the directory is now rally-jobs,
so exclusion didn't work. Second, it's better to also apply pep8 checks
for those files (there are some Python files inside the directory).

Change-Id: Ife1d8a538c1bdddac30ca1c30c48a71564860624
This commit is contained in:
Ihar Hrachyshka 2015-01-21 16:44:06 +01:00
parent 8714ab2809
commit 7f37bf413a
1 changed files with 1 additions and 1 deletions

View File

@ -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 = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron/tests/unit/vmware*
exclude = \.*,build,dist,neutron/openstack/common/*,neutron/tests/unit/vmware*
[testenv:pylint]
deps =