Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
sameeul committed Dec 9, 2024
1 parent 12e93ae commit c24c1e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cwltool/singularity.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ def is_version_3_10_or_newer() -> bool:

def _normalize_image_id(string: str) -> str:
if ":" not in string:
string+="_latest"
string += "_latest"

Check warning on line 138 in cwltool/singularity.py

View check run for this annotation

Codecov / codecov/patch

cwltool/singularity.py#L138

Added line #L138 was not covered by tests
return string.replace("/", "_") + ".img"


def _normalize_sif_id(string: str) -> str:
if ":" not in string:
string+="_latest"
string += "_latest"

Check warning on line 144 in cwltool/singularity.py

View check run for this annotation

Codecov / codecov/patch

cwltool/singularity.py#L144

Added line #L144 was not covered by tests
return string.replace("/", "_") + ".sif"


Expand Down

0 comments on commit c24c1e8

Please sign in to comment.