Skip to content

Commit

Permalink
Apply ruff changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MJGaughran committed Feb 20, 2025
1 parent e0b113b commit 1f14f9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/deploy_tools/app_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ def _generate_sif_file(self, app: Apptainer, module: Module) -> None:

if sif_file.exists():
raise AppBuilderError(
f"Building Apptainer files: "
f"Sif file output already exists:\n{sif_file}"
f"Building Apptainer files: Sif file output already exists:\n{sif_file}"
)

commands = ["apptainer", "pull", sif_file, app.container.url]
Expand Down
2 changes: 1 addition & 1 deletion src/deploy_tools/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def load_snapshot(layout: Layout, from_scratch: bool = False) -> Deployment:
if from_scratch:
if not layout.deployment_root.exists():
raise SnapshotError(
f"Deployment root does not exist:\n" f"{layout.deployment_root}"
f"Deployment root does not exist:\n{layout.deployment_root}"
)

if layout.deployment_snapshot_path.exists():
Expand Down

0 comments on commit 1f14f9f

Please sign in to comment.