Skip to content

Commit

Permalink
only check for url symbols for docker containers url
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed May 2, 2023
1 parent e4cd14a commit 1087e8f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions nf_core/modules/lint/main_nf.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,5 @@ def _container_type(line):
if url_match:
return "singularity"
return None
if (
line.startswith("biocontainers/")
or line.startswith("quay.io/")
or (line.count("/") == 1 and line.count(":") == 1)
):
if line.count("/") >= 1 and line.count(":") == 1:
return "docker"

0 comments on commit 1087e8f

Please sign in to comment.