bioconda / bioconda-utils

Utilities for building and managing bioconda recipes
MIT License
96 stars 133 forks source link

Lint if `ignore_run_exports` is in wrong section (under requirements, instead of build) #1003

Open corneliusroemer opened 2 months ago

corneliusroemer commented 2 months ago

The docs aren't super clear where to put ignore_run_exports, so it can happen they are in the wrong place (under requirements instead of build).

I made this mistake here: https://github.com/bioconda/bioconda-recipes/pull/48925/commits/31c684293b7c286a644b37c617c7a0c7d36c356b#diff-1f143fe375ca4f6a95329eb32f79d7f8b9810e63d6f9ef937eec75fecba98c2eL31-L33

And someone else here: https://github.com/bioconda/bioconda-recipes/blob/74934d5f8a3c9b84a050c733eecfafa833511583/recipes/libmaus2/meta.yaml#L42

Might be nice to add a lint for it.