summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorLance Bragstad <lbragstad@gmail.com>2015-10-21 16:37:58 +0000
committerLance Bragstad <lbragstad@gmail.com>2015-11-16 22:34:32 +0000
commit01297dce1a24d8506093f3a8c89c4e7484e9402c (patch)
treef6e46e89a45327386fd9087eee3c5410011ac124 /tox.ini
parentc743b6ded6e8d35df738ac85291ef58e0e060ff7 (diff)
downloadkeystonemiddleware-01297dce1a24d8506093f3a8c89c4e7484e9402c.tar.gz
Address hacking check H405.
Previously, there were a string of commits to keystone that addresed ignored hacking checks. This commit does the same for H405 in keystonemiddleware. This also modifies our tox.ini so that we no longer ignore H405 violations. This is a non-functional change. Change-Id: I7bbe99719feb39e96634c903991294c18c33112b Closes-Bug: 1482773
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 6 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 790bf02..abaca30 100644
--- a/tox.ini
+++ b/tox.ini
@@ -36,8 +36,12 @@ deps = -r{toxinidir}/test-requirements.txt
commands = bandit -c bandit.yaml -r keystonemiddleware -n5 -p keystone_conservative
[flake8]
-# H405: multi line docstring summary not separated with an empty line
-ignore = H405
+# NOTE(lbragstad): Even though we aren't ignoring any hacking checks, we have
+# to leave it assigned in the environment specification otherwise some error
+# checks will be ignored by default. If we need to ignore a specific hacking
+# check in the future, we will have to remove '___' from the ignore line.
+# See: http://flake8.readthedocs.org/en/latest/config.html#default
+ignore = ___
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*