Bump black from 22.12.0 to 23.1.0 (#4126)
* Bump black from 22.12.0 to 23.1.0 Bumps [black](https://github.com/psf/black) from 22.12.0 to 23.1.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/22.12.0...23.1.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump black in precommit * reformat with new black version --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
This commit is contained in:
parent
b4c74404e3
commit
4a0e17f050
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.12.0
|
||||
rev: 23.1.0
|
||||
hooks:
|
||||
- id: black
|
||||
args:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
black==22.12.0
|
||||
black==23.1.0
|
||||
codecov==2.1.12
|
||||
coverage==7.1.0
|
||||
flake8-docstrings==1.7.0
|
||||
|
|
|
@ -99,7 +99,6 @@ class Auth(FileConfiguration, CoreSysAttributes):
|
|||
ATTR_ADDON: addon.slug,
|
||||
},
|
||||
) as req:
|
||||
|
||||
if req.status == 200:
|
||||
_LOGGER.info("Successful login for '%s'", username)
|
||||
self._update_cache(username, password)
|
||||
|
|
|
@ -100,7 +100,10 @@ class NetworkManager(DBusInterfaceProxy):
|
|||
self, settings: Any, device_object: str
|
||||
) -> tuple[NetworkSetting, NetworkConnection]:
|
||||
"""Activate a connction on a device."""
|
||||
(_, obj_active_con,) = await self.dbus.call_add_and_activate_connection(
|
||||
(
|
||||
_,
|
||||
obj_active_con,
|
||||
) = await self.dbus.call_add_and_activate_connection(
|
||||
settings, device_object, DBUS_OBJECT_BASE
|
||||
)
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ async def test_validate_session(api_client, coresys):
|
|||
"aiohttp.web_request.BaseRequest.__getitem__",
|
||||
return_value=coresys.homeassistant,
|
||||
):
|
||||
|
||||
resp = await api_client.post("/ingress/session")
|
||||
result = await resp.json()
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ def test_get_images(coresys: CoreSys):
|
|||
"supervisor.resolution.evaluations.container.EvaluateContainer._get_images",
|
||||
return_value=[MagicMock(tags=["test"])],
|
||||
):
|
||||
|
||||
images = container._get_images()
|
||||
assert images[0].tags[0] == "test"
|
||||
|
||||
|
|
Loading…
Reference in New Issue