[core] Enable ruff B (flake8-bugbear) lint family (#16655)
This commit is contained in:
1 parent
489cf483d0
commit
ae814cff5c
27 files changed
+54
-50
No files matched your search
@@ -67,7 +67,7 @@ def test_iter_component_configs_with_multi_conf(mock_get_component: Mock) -> Non
|
||||
configs = list(config.iter_component_configs(test_config))
|
||||
assert len(configs) == 2
|
||||
|
||||
for domain, component, conf in configs:
|
||||
for domain, _component, conf in configs:
|
||||
assert domain == "switch"
|
||||
assert "name" in conf
|
||||
|
||||
|
||||
Reference in new issue
Block a user