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: