summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2015-01-11 18:26:32 -0600
committerBrant Knudson <bknudson@us.ibm.com>2015-01-19 16:01:51 -0600
commit7a73b24b3221228aa37f665796dc6fdf8668f3be (patch)
tree5e64943835470f45b8aa8e28ee4e642c64c73c9b
parentc0e441ac43901c5f8b967766528d7163ff292d13 (diff)
downloadkeystonemiddleware-7a73b24b3221228aa37f665796dc6fdf8668f3be.tar.gz
Enforce check F821 and H304
The F821 "undefined name" rule wasn't enforced as it should be. This is an important one since undefined names raise exceptions. The H304 "no relative imports" also wasn't enforced. Change-Id: If7fb6705c916b6df389590c9a48696e8850f328b
-rw-r--r--tox.ini4
1 files changed, 1 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 1a69e3b..1ee9320 100644
--- a/tox.ini
+++ b/tox.ini
@@ -32,10 +32,8 @@ downloadcache = ~/cache/pip
commands = oslo_debug_helper {posargs}
[flake8]
-# F821: undefined name
-# H304: no relative imports
# H405: multi line docstring summary not separated with an empty line
-ignore = F821,H304,H405
+ignore = H405
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*