Enable Ruff RSE (#113695)

This commit is contained in:
Sid
2024-03-18 00:40:38 +01:00
committed by GitHub
parent 685553d17d
commit 82a60fe8ad
155 changed files with 325 additions and 324 deletions

View File

@@ -139,7 +139,7 @@ class ConditionError(HomeAssistantError):
def output(self, indent: int) -> Generator[str, None, None]:
"""Yield an indented representation."""
raise NotImplementedError()
raise NotImplementedError
def __str__(self) -> str:
"""Return string representation."""