From 67175a667308e534c1d55931322bbd36e1e0a7c5 Mon Sep 17 00:00:00 2001 From: Dolph Mathews Date: Thu, 23 May 2013 14:09:09 -0500 Subject: use the 'not in' operator (flake8 H902) ... when evaluating membership in a collection. Change-Id: I3fd3d5b5d5ea505833be50193b8969f8c4feb135 --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 6fb00d64..726b6e42 100644 --- a/tox.ini +++ b/tox.ini @@ -43,8 +43,7 @@ show-source = true # H701: empty localization string # H702: use bare string concatenation instead of +; formatting operation should be outside of localization method call # H703: multiple positional placeholders -# H902: use the 'not in' operator for collection membership evaluation -ignore = H201,H301,H302,H304,H306,H401,H402,H403,H404,H701,H702,H703,H902 +ignore = H201,H301,H302,H304,H306,H401,H402,H403,H404,H701,H702,H703 builtins = _ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools,vendor -- cgit