From 49164ae51c405f7a28c1915f21b5edcd3aca8728 Mon Sep 17 00:00:00 2001 From: fabianegli Date: Wed, 7 Sep 2022 17:29:56 +0200 Subject: [PATCH] indicate unused self --- nf_core/modules/lint/module_deprecations.py | 2 +- nf_core/modules/lint/module_tests.py | 2 +- nf_core/modules/lint/module_todos.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nf_core/modules/lint/module_deprecations.py b/nf_core/modules/lint/module_deprecations.py index f7e8761c75..13ab2a583b 100644 --- a/nf_core/modules/lint/module_deprecations.py +++ b/nf_core/modules/lint/module_deprecations.py @@ -5,7 +5,7 @@ log = logging.getLogger(__name__) -def module_deprecations(module_lint_object, module): +def module_deprecations(_, module): """ Check that the modules are up to the latest nf-core standard """ diff --git a/nf_core/modules/lint/module_tests.py b/nf_core/modules/lint/module_tests.py index b0c9fa0ee2..0b76acb944 100644 --- a/nf_core/modules/lint/module_tests.py +++ b/nf_core/modules/lint/module_tests.py @@ -9,7 +9,7 @@ log = logging.getLogger(__name__) -def module_tests(module_lint_object, module): +def module_tests(_, module): """ Lint the tests of a module in ``nf-core/modules`` diff --git a/nf_core/modules/lint/module_todos.py b/nf_core/modules/lint/module_todos.py index 90af44987e..82e7295eda 100644 --- a/nf_core/modules/lint/module_todos.py +++ b/nf_core/modules/lint/module_todos.py @@ -6,7 +6,7 @@ log = logging.getLogger(__name__) -def module_todos(module_lint_object, module): +def module_todos(_, module): """ Look for TODO statements in the module files