Skip to content

Commit

Permalink
Merge pull request #3095 from mirpedrol/linting-label-quotes
Browse files Browse the repository at this point in the history
Components: Modules : allow module lables between double quotes
  • Loading branch information
mirpedrol committed Aug 7, 2024
2 parents 8e7739d + cbee6d0 commit 0aede5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/modules/lint/main_nf.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def check_process_labels(self, lines):
if len(all_labels) > 0:
for label in all_labels:
try:
label = re.match(r"^label\s+'?([a-zA-Z0-9_-]+)'?$", label).group(1)
label = re.match(r"^label\s+'?\"?([a-zA-Z0-9_-]+)'?\"?$", label).group(1)
except AttributeError:
self.warned.append(
(
Expand Down

0 comments on commit 0aede5f

Please sign in to comment.