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
|
@ -340,7 +340,7 @@ async def async_load_base_functionality(hass: core.HomeAssistant) -> None:
|
|||
asyncio event loop. By primeing the cache of uname we can
|
||||
avoid the blocking call in the event loop.
|
||||
"""
|
||||
platform.uname().processor # pylint: disable=expression-not-assigned
|
||||
_ = platform.uname().processor
|
||||
|
||||
# Load the registries and cache the result of platform.uname().processor
|
||||
translation.async_setup(hass)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue