From 6391130de4ec7c1118cb89f0953437045a0231d0 Mon Sep 17 00:00:00 2001 From: handsomesix <1620070770@qq.com> Date: Fri, 12 Jun 2026 03:35:37 +0800 Subject: [PATCH 1/2] fix: relax stub .gz linting regex to accept echo without args --- nf_core/modules/lint/module_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nf_core/modules/lint/module_tests.py b/nf_core/modules/lint/module_tests.py index 00031d8b62..ce26306881 100644 --- a/nf_core/modules/lint/module_tests.py +++ b/nf_core/modules/lint/module_tests.py @@ -329,8 +329,8 @@ def _check_stub_gzip_syntax(module: NFCoreComponent): if not line or line.startswith(("//", "#")): continue - # The ONLY valid pattern is: echo "" | gzip > file.gz - valid_pattern = r'echo\s+""\s*\|\s*gzip\s*>\s*.*\.gz$' + # Valid patterns: echo "" | gzip >, echo '' | gzip >, or echo | gzip > + valid_pattern = r'''echo(?:\s+(?:""|''))?\s*\|\s*gzip\s*>\s*.*\.gz$''' if not re.search(valid_pattern, line): invalid_gz_patterns.append(line.strip()) From c2109c6c230178b9162d01a987368152b258afed Mon Sep 17 00:00:00 2001 From: handsomesix <1620070770@qq.com> Date: Fri, 12 Jun 2026 21:33:15 +0800 Subject: [PATCH 2/2] trigger CI: re-run checks on dev branch --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 88542d2176..cd7ca1f8dc 100644 --- a/README.md +++ b/README.md @@ -80,3 +80,4 @@ If you use `nf-core tools` in your work, please cite the `nf-core` publication a > Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen. > > _Nat Biotechnol._ 2020 Feb 13. doi: [10.1038/s41587-020-0439-x](https://dx.doi.org/10.1038/s41587-020-0439-x). +