Remove args stub from module template to satisfy language server#3403
Remove args stub from module template to satisfy language server#3403
Conversation
mirpedrol
left a comment
There was a problem hiding this comment.
Let's wait to merge this until v3.2.0, so we don't have bigger changes in a patch release. I am blocking the merge but changes LGTM 🙂
|
Fine with me (although arguably a very small change) |
|
Would it be potentially better to do This has a couple of benefits over dropping the
|
|
I had thought the same thing as one option @awgymer , but was outvoted https://nfcore.slack.com/archives/C043UU89KKQ/p1737099337825629 |
|
That is a shame. It seems like people have a different view of the purpose of I wish it would behave more strictly as a "ran the pipeline as if it were real except never actually executed the script" mode. I have had this open issue for some time in nextflow because sometimes you have more complex logic for e.g. determining if you should add a |
|
Bring it up on the slack channel! I don't mind changing the PR myself :) |
|
Are normies allowed to join and comment in #team-maintainers 🤔 |
Yes :) |
|
🧹 spring cleaning message 🌷 What is the state of this PR? did #team-maintainers reach a consensus? |
|
No, we argued about it 🤣, maybe you could broach the topic again on slack with a vote @mirpedrol |
mirpedrol
left a comment
There was a problem hiding this comment.
Looks like we have a decision https://nfcore.slack.com/archives/C043UU89KKQ/p1741767322271249?thread_ts=1737099337.825629&cid=C043UU89KKQ
So this PR should be modified to keep the definition of args and add an echo to the stub. We should also add a TODO comment explaining that these lines can be deleted if the module doesn't use args.
|
@mirpedrol there is a Kita and Hort strike today so can't do much. If you want this done quickly maybe you can make the changes and I can review from my phone |
|
I have made the change, and it's ready to review |
mirpedrol
left a comment
There was a problem hiding this comment.
Approving so my previous review requesting changes doesn't block the PR. But someone else should review since I made the last changes.
|
@mahesh-panchal approves so will merge |
I don't know if there is a linting check for this though...
People can add it back in if needed within the stub
PR checklist
CHANGELOG.mdis updateddocsis updated