Skip to content

Commit fd3fd1f

Browse files
committed
rebase + lint
Signed-off-by: Ian Eaves <ian.k.eaves@gmail.com>
1 parent a97824f commit fd3fd1f

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

ramalama/transports/base.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -394,14 +394,16 @@ def base(self, args, name):
394394
if args.subcommand == "run" and not getattr(args, "ARGS", None) and sys.stdin.isatty():
395395
self.engine.add(["-i"])
396396

397-
self.engine.add([
398-
"--label",
399-
"ai.ramalama",
400-
"--name",
401-
name,
402-
"--env=HOME=/tmp",
403-
"--init",
404-
])
397+
self.engine.add(
398+
[
399+
"--label",
400+
"ai.ramalama",
401+
"--name",
402+
name,
403+
"--env=HOME=/tmp",
404+
"--init",
405+
]
406+
)
405407

406408
def setup_container(self, args):
407409
name = self.get_container_name(args)
@@ -454,9 +456,9 @@ def setup_mounts(self, args):
454456
# Convert path to container-friendly format (handles Windows path conversion)
455457
container_blob_path = get_container_mount_path(blob_path)
456458
mount_path = f"{MNT_DIR}/{file.name}"
457-
self.engine.add([
458-
f"--mount=type=bind,src={container_blob_path},destination={mount_path},ro{self.engine.relabel()}"
459-
])
459+
self.engine.add(
460+
[f"--mount=type=bind,src={container_blob_path},destination={mount_path},ro{self.engine.relabel()}"]
461+
)
460462

461463
if self.draft_model:
462464
draft_model = self.draft_model._get_entry_model_path(args.container, args.generate, args.dryrun)

0 commit comments

Comments
 (0)