Replace pylint protected-access with Ruff SLF001 (#115735)
This commit is contained in:
parent
460c05dc43
commit
b456d97e65
90 changed files with 168 additions and 223 deletions
|
@ -396,8 +396,7 @@ async def async_get_users(hass: HomeAssistant) -> list[str]:
|
|||
|
||||
This is called by the cloud integration to import from the previously shared store.
|
||||
"""
|
||||
# pylint: disable-next=protected-access
|
||||
path = hass.config.path(STORAGE_DIR, GoogleConfigStore._STORAGE_KEY)
|
||||
path = hass.config.path(STORAGE_DIR, GoogleConfigStore._STORAGE_KEY) # noqa: SLF001
|
||||
try:
|
||||
store_data = await hass.async_add_executor_job(json_util.load_json, path)
|
||||
except HomeAssistantError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue