Skip to content

Commit 59cca70

Browse files
Reduce line length to <=100
1 parent 6af0465 commit 59cca70

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

testcontainers/minio.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ def get_client(self, **kwargs) -> Minio:
3636
"""Returns a Minio client to connect to the container.
3737
3838
Returns:
39-
Minio: Python Minio Client according to https://min.io/docs/minio/linux/developers/python/API.html
39+
Minio: Python Minio Client according to
40+
https://min.io/docs/minio/linux/developers/python/API.html
4041
"""
4142
return Minio(
4243
f"{self.get_container_host_ip()}:{self.get_exposed_port(self.port_to_expose)}",
@@ -53,7 +54,8 @@ def get_config(self) -> MinioConfig:
5354
MinioConfig: Dictionary with the endpoint, access_key and secret_key.
5455
"""
5556
return {
56-
"endpoint": f"{self.get_container_host_ip()}:{self.get_exposed_port(self.port_to_expose)}",
57+
"endpoint": f"{self.get_container_host_ip()}" +
58+
f":{self.get_exposed_port(self.port_to_expose)}",
5759
"access_key": self.access_key,
5860
"secret_key": self.secret_key,
5961
}

0 commit comments

Comments
 (0)