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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user