INNER CODE UNIT · Python
lint_module
nf-core/tools · nf_core/modules/lint/__init__.py:198
def lint_module(
self,
mod: NFCoreComponent,
progress_bar: rich.progress.Progress,
local: bool = False,
fix_version: bool = False,
):
"""
Perform linting on one module
If the module is a local module we only check the `main.nf` file,
and issue warnings instead of failures.
If the module is a nf-core module we check for existence of the files
- main.nf
- meta.yml
And verify that their content conform to the nf-core standards.