Skip to content

Commit 7632cfd

Browse files
author
Simeon Stix
committed
formating using ruff format
1 parent d9a03bf commit 7632cfd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

supervisor/docker/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ async def process_pull_image_log(reference: PullLogEntry) -> None:
427427
image,
428428
str(version),
429429
platform=MAP_ARCH[image_arch],
430-
auth= self._get_credentials(image),
430+
auth=self._get_credentials(image),
431431
)
432432

433433
# Tag latest

supervisor/docker/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ async def pull_image(
446446
if isinstance(auth, dict) and ATTR_USERNAME in auth and ATTR_PASSWORD in auth:
447447
auth = auth[ATTR_USERNAME] + ":" + auth[ATTR_PASSWORD]
448448
elif isinstance(auth, str) and ":" in auth:
449-
pass # auth is already viable
449+
pass # auth is already viable
450450
else:
451451
_LOGGER.info("Pulling %s without authentication", repository)
452452
auth = None

tests/homeassistant/test_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ async def test_core_loads_wrong_image_for_machine(
477477
"ghcr.io/home-assistant/qemux86-64-homeassistant",
478478
"2024.4.0",
479479
platform="linux/amd64",
480-
auth={}
480+
auth={},
481481
)
482482

483483
container.remove.assert_called_once_with(force=True, v=True)
@@ -536,7 +536,7 @@ async def test_core_loads_wrong_image_for_architecture(
536536
"ghcr.io/home-assistant/qemux86-64-homeassistant",
537537
"2024.4.0",
538538
platform="linux/amd64",
539-
auth={}
539+
auth={},
540540
)
541541

542542
container.remove.assert_called_once_with(force=True, v=True)

0 commit comments

Comments
 (0)