Replace pylint pointless-statement with ruff B018 (#113582)
* Replace pylint pointless-statement with ruff B018 * fix occurrences of B018 * disable pylint expression-not-assigned as well --------- Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
7b20641651
commit
6113b99ddd
13 changed files with 15 additions and 15 deletions
|
@ -70,7 +70,7 @@ class LutronCover(LutronDevice, CoverEntity):
|
|||
|
||||
def _request_state(self) -> None:
|
||||
"""Request the state from the device."""
|
||||
self._lutron_device.level # pylint: disable=pointless-statement
|
||||
_ = self._lutron_device.level
|
||||
|
||||
def _update_attrs(self) -> None:
|
||||
"""Update the state attributes."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue