INNER CODE UNIT · Python
LintResult
nf-core/tools · nf_core/components/lint/__init__.py:36
class LintResult:
"""An object to hold the results of a lint test"""
def __init__(
self, component: NFCoreComponent, parent_lint_test: str, lint_test: str, message: str, file_path: Path
):
self.component = component
self.lint_test = lint_test
self.parent_lint_test = parent_lint_test
self.message = message
self.file_path = file_path
self.component_name: str = component.component_name
class ComponentLint(ComponentCommand):
"""
An object for linting modules and subworkflows either in a clone of the 'nf-core/modules'
repository or in any nf-core pipeline directory