mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 04:05:20 +01:00
Enable Ruff PT006 (#88165)
* Enable Ruff PT006 * Adjust existing cases * Fix tests * Remove unneeded parentheses
This commit is contained in:
@@ -148,7 +148,7 @@ def test_bad_import(
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"import_node,module_name",
|
||||
("import_node", "module_name"),
|
||||
[
|
||||
(
|
||||
"from homeassistant.components import climate",
|
||||
@@ -194,7 +194,7 @@ def test_good_root_import(
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"import_node,module_name",
|
||||
("import_node", "module_name"),
|
||||
[
|
||||
(
|
||||
"import homeassistant.components.climate.const as climate",
|
||||
|
||||
Reference in New Issue
Block a user