tools icon indicating copy to clipboard operation
tools copied to clipboard

add license check to linter

Open klkeys opened this issue 4 years ago • 2 comments

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

  1. add code to the nf-core linter to check for a line in meta.yml such as license: ['MIT']
  2. ensure that nf-core modules create also 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

klkeys avatar Oct 19 '21 21:10 klkeys

Related to https://github.com/nf-core/tools/issues/1155

drpatelh avatar Dec 08 '21 12:12 drpatelh

nf-core lint

ggabernet avatar Apr 20 '22 13:04 ggabernet