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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
155 changed files with 325 additions and 324 deletions

View file

@ -278,7 +278,7 @@ class DIRECTVMediaPlayer(DIRECTVEntity, MediaPlayerEntity):
async def async_turn_on(self) -> None:
"""Turn on the receiver."""
if self._is_client:
raise NotImplementedError()
raise NotImplementedError
_LOGGER.debug("Turn on %s", self.name)
await self.dtv.remote("poweron", self._address)
@ -286,7 +286,7 @@ class DIRECTVMediaPlayer(DIRECTVEntity, MediaPlayerEntity):
async def async_turn_off(self) -> None:
"""Turn off the receiver."""
if self._is_client:
raise NotImplementedError()
raise NotImplementedError
_LOGGER.debug("Turn off %s", self.name)
await self.dtv.remote("poweroff", self._address)