ruff: Enable E5 check

... to enforce maximum line length, to keep consistent code format.

Note that E501 check is disabled in test code now, until we decide how
to update ~50 lines violating the limit due to too long names.

Change-Id: I122c8b9035d6381dafb34438517c26b01e5201f5
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-12-11 02:42:46 +09:00
parent f8effe997e
commit 92a277ff4c
10 changed files with 41 additions and 23 deletions

View File

@@ -256,7 +256,10 @@ class APIv1(api.BaseAPI):
# object's name in the container.
object_name_str = name if name else object
full_url = f"{urllib.parse.quote(container)}/{urllib.parse.quote(object_name_str)}"
full_url = (
f"{urllib.parse.quote(container)}/"
f"{urllib.parse.quote(object_name_str)}"
)
with open(object, 'rb') as f:
response = self.create(
full_url,