Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/nf-core/tools into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Dec 12, 2022
2 parents 2b96d32 + bc44d2e commit ffc3bd3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions nf_core/modules/lint/main_nf.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,15 @@ def check_process_section(self, lines, fix_version, progress_bar):
self.failed.append(
("container_links", "Too many double quotes found when specifying containers", self.main_nf)
)
# lint more than one container in the same line
if ("https://containers" in l or "https://depot" in l) and ("biocontainers/" in l or "quay.io/" in l):
self.warned.append(
(
"container_links",
"Docker and Singularity containers specified in the same line. Only first one checked.",
self.main_nf,
)
)
# Try to connect to container URLs
if url is None:
continue
Expand Down

0 comments on commit ffc3bd3

Please sign in to comment.