Skip to content

Commit b133b37

Browse files
committed
chore: run ruff formatter
Signed-off-by: Kanishk Pachauri <[email protected]>
1 parent a97f38c commit b133b37

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

podman/client.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__(self, **kwargs) -> None:
7878

7979
def _verify_connection(self):
8080
"""Verify connection to Podman daemon during initialization.
81-
81+
8282
Raises:
8383
PodmanException: If unable to connect to Podman daemon
8484
"""
@@ -91,13 +91,9 @@ def _verify_connection(self):
9191
"Error while connecting to Podman daemon: "
9292
f"Could not find socket file - {str(e)}"
9393
) from e
94-
raise PodmanConnectionError(
95-
f"Error while connecting to Podman daemon: {str(e)}"
96-
) from e
94+
raise PodmanConnectionError(f"Error while connecting to Podman daemon: {str(e)}") from e
9795
except Exception as e:
98-
raise PodmanConnectionError(
99-
f"Error while connecting to Podman daemon: {str(e)}"
100-
) from e
96+
raise PodmanConnectionError(f"Error while connecting to Podman daemon: {str(e)}") from e
10197

10298
def __enter__(self) -> "PodmanClient":
10399
return self
@@ -174,7 +170,6 @@ def from_env(
174170

175171
return PodmanClient(**kwargs)
176172

177-
178173
@cached_property
179174
def containers(self) -> ContainersManager:
180175
"""Returns Manager for operations on containers stored by a Podman service."""

0 commit comments

Comments
 (0)