environment_yml
ModuleLint.environment_yml(module: NFCoreComponent, allow_missing: bool = False) → None
Lint an environment.yml file.
The lint test checks that the dependencies section
in the environment.yml file is valid YAML and that it
is sorted alphabetically.
The following checks are performed:
environment_yml_exists: Theenvironment.ymlfile must exist if it is referenced inmain.nf.environment_yml_valid: Theenvironment.ymlmust be valid according to the JSON schema defined at https://raw.githubusercontent.com/nf-core/modules/master/modules/environment-schema.json.environment_yml_sorted: The dependencies listed inenvironment.ymlmust be sorted alphabetically. If they are not, they will be sorted automatically.