summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDevananda van der Veen <devananda.vdv@gmail.com>2013-06-22 12:05:46 -0700
committerDevananda van der Veen <devananda.vdv@gmail.com>2013-07-02 03:11:24 -0700
commitf2b4419b9f5e01038adaae1d0ce856bd0ac9af5b (patch)
treea61f8853b586565e0af61212e8508e44a47ccdca /tox.ini
parent88531ada3934775398c555bfe713d4f36144ac38 (diff)
downloadnova-f2b4419b9f5e01038adaae1d0ce856bd0ac9af5b.tar.gz
Add HACKING check for db session param
Add a HACKING check to enforce that public db/api and db/sqlalchemy/api methods to not accept a 'session' parameter. This check is initially disabled, since it is failing ~24 times right now, but will be enabled once bp/db-session-cleanup is complete. Change-Id: Ib89eea58555032dd142d4e21e62d66e2726f0d06
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index bc2ae8d6a0..d82b949fbf 100644
--- a/tox.ini
+++ b/tox.ini
@@ -39,7 +39,7 @@ commands =
commands = {posargs}
[flake8]
-ignore = E121,E122,E123,E124,E125,E126,E127,E128,E711,E712,H302,H303,H404,F403,F811,F841
+ignore = E121,E122,E123,E124,E125,E126,E127,E128,E711,E712,H302,H303,H404,F403,F811,F841,N309
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,plugins,tools