From e5fe4cc41c7e84dfe3e271b3712451950561a7ab Mon Sep 17 00:00:00 2001 From: Yatin Karel Date: Tue, 26 Aug 2025 10:11:18 +0530 Subject: [PATCH] [hacking check] Ignore N535 check_no_eventlet_imports We still have eventlet usage so until those get's cleared[1] we need to ignore the hacking check. [1] https://review.opendev.org/c/openstack/neutron/+/952258 Change-Id: I39e37445864de75df40d08a09c1ff2db5b580769 Signed-off-by: Yatin Karel --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index af13f8fe3fd..1d13e0b63fb 100644 --- a/tox.ini +++ b/tox.ini @@ -205,7 +205,7 @@ select = H,N # H205: Use assert(Greater|Less)(Equal) for comparison # H904: Delay string interpolations at logging calls enable-extensions = H106,H203,H204,H205,H904 -ignore = H405,H701,H702,H703,N530 +ignore = H405,H701,H702,H703,N530,N535 show-source = true exclude = ./.*,build,dist,doc @@ -232,6 +232,7 @@ extension = N530 = neutron_lib.hacking.checks:check_neutron_namespace_imports N532 = neutron_lib.hacking.translation_checks:check_log_warn_deprecated N534 = neutron_lib.hacking.translation_checks:check_raised_localized_exceptions + N535 = neutron_lib.hacking.checks:check_no_eventlet_imports N536 = neutron_lib.hacking.checks:assert_equal_none N537 = neutron_lib.hacking.translation_checks:no_translate_logs