[core] Enable ruff SLOT (flake8-slots) lint family (#16647)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2026-05-25 20:06:01 -05:00
1 parent 97267105e1
commit 5172227931
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -907,7 +907,7 @@ def test_format_path_current_obj_without_location_falls_back_to_key():
"""An ESPHomeDataBase current_obj with no esp_range falls back to the key's location."""
class _NoRange(ESPHomeDataBase, str):
pass
__slots__ = ()
obj = _NoRange.__new__(_NoRange, "value")
str.__init__(obj)