Run all flake8 checks

Previously, only H106 was being run.

Depends-On: I04b862ced4659dfeb3c515edb3b8fed36b5b086d
Change-Id: I76b5bbfee016ea25904a558c64a69b796d135f2d
This commit is contained in:
Tim Burke 2016-02-04 15:33:16 -08:00
parent b8e3ce2795
commit b011ebb0e7
4 changed files with 5 additions and 5 deletions

View File

@ -162,7 +162,7 @@ under the License."""
if stripped_apache2 in content: if stripped_apache2 in content:
return True return True
else: else:
print ("<license>!=<apache2>:\n'%s' !=\n'%s'" % print("<license>!=<apache2>:\n'%s' !=\n'%s'" %
(content, stripped_apache2)) (content, stripped_apache2))
return False return False

View File

@ -5,7 +5,7 @@ pbr>=1.6 # Apache-2.0
pep8==1.5.7 # MIT pep8==1.5.7 # MIT
pyflakes==0.8.1 # MIT pyflakes==0.8.1 # MIT
flake8<2.6.0,>2.4.1 # MIT flake8<2.6.0,>=2.5.4 # MIT
mccabe==0.2.1 # MIT License mccabe==0.2.1 # MIT License
six>=1.9.0 # MIT six>=1.9.0 # MIT

View File

@ -37,7 +37,7 @@ commands = python setup.py build_sphinx
[flake8] [flake8]
exclude = .venv,.tox,dist,doc,*.egg,build exclude = .venv,.tox,dist,doc,*.egg,build
show-source = true show-source = true
select = H106 enable-extensions = H106
[hacking] [hacking]
local-check = hacking.tests.test_local.check local-check = hacking.tests.test_local.check