nextflow-io / nextflow-io/nextflow
`nextflow lint`: add `-fail-on-warnings` flag
Open
Nobody has claimed this yet.
- Dominant language
- Groovy
- Stars
- 3.5k
- Forks
- 811
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 61
Description
New feature
nextflow lint should exit with status 1 if there are warnings and a -fail-on-warnings flag is set.
Use case
I would like to have a bit stricter linting in the CI for the nf-core template. Currently, I can only do this by adding a manual parsing step to check for warnings in the output.
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
Locate the nextflow lint command and its existing warning reporting first. Check how command exit statuses are determined and whether tests cover lint warnings. Done means -fail-on-warnings exits with status 1 when warnings exist, while lint behavior remains unchanged without the flag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100