[core] Enable ruff B (flake8-bugbear) lint family (#16655)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2026-05-26 02:28:14 +00:00
1 parent 489cf483d0
commit ae814cff5c
27 files changed
+54 -50

No files matched your search

+1 -1
View File
@@ -972,7 +972,7 @@ def convert(schema, config_var, path):
}
elif schema_type == "use_id":
if inspect.ismodule(data):
m_attr_obj = getattr(data, "CONFIG_SCHEMA")
m_attr_obj = data.CONFIG_SCHEMA
use_schema = known_schemas.get(repr(m_attr_obj))
if use_schema:
[output_module, output_name] = use_schema[0][1].split(".")