INNER CODE UNIT · Python

__repr__

nf-core/tools · nf_core/components/lint/__init__.py:156

    def __repr__(self) -> str:
        return f"ComponentLint({self.component_type}, {self.directory})"

    def _set_registry(self, registry: tuple[str, ...]) -> None:
        _, tools_config = nf_core.utils.load_tools_config(self.directory)
        user_registries: list[str] = (tools_config.container_registry or []) if tools_config else []
        self.registry: tuple[str, ...] = (*registry, *user_registries)
        log.debug(f"Registries set to {self.registry}")

    @property
    def local_module_exclude_tests(self):
        return ["module_version", "module_changes", "modules_patch"]

    @staticmethod
    def get_all_module_lint_tests(is_pipeline):
        if is_pipeline:
            return [
                "environment_yml",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…