do we have a list of the nf-core guidelines enforc...
# tools
r
do we have a list of the nf-core guidelines enforced by linting (for modules)? What lints can be disabled for modules?
m
I'm interested by the answer
@Júlia Mir any idea?
r
Like here for example: https://nf-co.re/docs/nf-core-tools/api_reference/3.3.1/module_lint_tests/main_nf let's say I want to run the linting for everything in main, but labels
a
I don’t think module level linting is configurable but I could be wrong
j
this is the link I would have sent. Indeed, you can not skip specific linting tests for modules
a
Can you supply an explicit lint test to run when you call it? (So for example you could just run linting of
main_nf
)
j
yes this you can do, with
--key
👍 1
r
would it be possible to add something like this?
j
I think it's a bigger discussion because we don't want to allow skipping linting in the nf-core repo 🤔
r
true, but it's helpful for people maintaining their own repo
m
We do force merge for some modules, but I do see the logic behind not wanting to allow skipping lint in the nf-core/modules repo
r
a
I think ideally we should overhaul lint sooner rather than later anyway as we have been adding lots of complexity to the tests and they are sometimes quite fragile. I started trying to build a more formal linter but I got hung up on trying to build it in rust and write my own parser which ended up sinking me. And then the nextflow lint tool came along and I sort of parked it
j
a bit related to this, we have the plan to try out refTrace https://github.com/nf-core/tools/issues/3651
👍 1