From 79bb9e9a7d5d99ef57cd8da8c0ed9bc5d6275099 Mon Sep 17 00:00:00 2001 From: gecong1973 Date: Fri, 3 Feb 2017 16:05:51 +0800 Subject: [PATCH] Delete H803 from ignore list The H803 rule have been removed from hacking since v0.10.0. we can remove H803 from the ignore list. Change-Id: Ib3de9f9e30eef33338f3c784d4b9ac81faeb45a5 --- tox.ini | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index f40e1647..b6a1e590 100644 --- a/tox.ini +++ b/tox.ini @@ -36,7 +36,6 @@ commands = python setup.py build_sphinx commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [flake8] -# H803 skipped on purpose per list discussion. # E123, E125 skipped as they are invalid PEP-8. # Following checks are ignored on purpose. # @@ -46,9 +45,6 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen # E265 block comment should start with '# ' # reason: no improvement in readability # -# H803 git commit title should not end with period -# reason: removed in hacking (https://review.openstack.org/#/c/101498/) -# # H904 wrap long lines in parentheses instead of a backslash # reason: removed in hacking (https://review.openstack.org/#/c/101701/) # @@ -58,7 +54,7 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen # ignored on purpose for the moment and should be re-enabled. show-source = True -ignore = E123,E125,E126,E127,E128,E251,E265,H302,H405,H803,H904,H404 +ignore = E123,E125,E126,E127,E128,E251,E265,H302,H405,H904,H404 builtins = _ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build max-complexity=30