tools
tools copied to clipboard
add license check to linter
Is your feature request related to a problem? Please describe
as part of software best practices, it's probably wise (and sometimes maybe necessary) to include software licenses for packaged software. for nf-core/modules, this would mean enforcing or at least noting the software license in meta.yml
Describe the solution you'd like
- add code to the
nf-corelinter to check for a line inmeta.ymlsuch aslicense: ['MIT'] - ensure that
nf-core modules createalso generates this line when templating a new module
Describe alternatives you've considered
could opt for no-build option, if people are happy with status quo. for those in environments with high audit risk, this could yield a rather painful experience down the road..
Additional context
see parallel issue in nf-core/modules here
Related to https://github.com/nf-core/tools/issues/1155