stub `.gz` linting is too restrictive
Open
Beginner friendly
Nobody has claimed this yet.
bug
good-first-issue
- Dominant language
- Python
- Stars
- 322
- Forks
- 255
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 5
Description
Description of the bug
This is the linting error that we get here https://github.com/nf-core/modules/pull/11312. It says that the stub syntax should be echo "" | gzip > but echo | gzip > is equally valid. Please reflect that in the linting.
Also related to #4205
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the linting error shown in nf-core/modules pull request #11312 and read the related discussion in issue #4205. Locate the linting rule that rejects echo | gzip > and compare it with the accepted echo "" | gzip > form. Done means both valid stub forms pass linting without weakening other .gz checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100