[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 <ykarel@redhat.com>
This commit is contained in:
2025-08-26 10:11:18 +05:30
parent ca7e479342
commit e5fe4cc41c

View File

@@ -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