INNER CODE UNIT · Python
LintExceptionError
nf-core/tools · nf_core/components/lint/__init__.py:29
class LintExceptionError(Exception):
"""Exception raised when there was an error with module or subworkflow linting"""
pass
@rich.repr.auto
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