diff --git a/nf_core/modules/lint/__init__.py b/nf_core/modules/lint/__init__.py index af5ed69722..c870d136d3 100644 --- a/nf_core/modules/lint/__init__.py +++ b/nf_core/modules/lint/__init__.py @@ -176,6 +176,7 @@ def lint(self, module=None, key=(), all_modules=False, print_results=True, show_ if print_results: self._print_results(show_passed=show_passed) + self.print_summary() def set_up_pipeline_files(self): self.load_lint_config() @@ -422,9 +423,6 @@ def _s(some_list): table = format_result(self.failed, table) console.print(table) - # Print lint summary - self.print_summary() - def print_summary(self): def _s(some_list): if len(some_list) > 1: