From 57905cc0cd94bc9409f55b54027cf7afca17d8fe Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Fri, 21 Apr 2023 10:57:08 +0200 Subject: [PATCH 1/3] take into accout remote_url when linting all modules --- nf_core/modules/lint/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nf_core/modules/lint/__init__.py b/nf_core/modules/lint/__init__.py index 0f4ece6c4..24d673b1c 100644 --- a/nf_core/modules/lint/__init__.py +++ b/nf_core/modules/lint/__init__.py @@ -91,6 +91,8 @@ def __init__( modules_json.check_up_to_date() self.all_remote_modules = [] for repo_url, components in modules_json.get_all_components(self.component_type).items(): + if remote_url is not None and remote_url != repo_url: + continue for org, comp in components: self.all_remote_modules.append( NFCoreModule( From 1c39011fd5d701899bd32ed8fd997798209168aa Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Fri, 21 Apr 2023 10:57:43 +0200 Subject: [PATCH 2/3] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b41cd517b..256c0ef81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ - Add an `--empty-template` option to create a module without TODO statements or examples ([#2175](https://github.com/nf-core/tools/pull/2175) & [#2177](https://github.com/nf-core/tools/pull/2177)) - Removed the `nf-core modules mulled` command and all its code dependencies ([2199](https://github.com/nf-core/tools/pull/2199)). +- Take into accout the provided `--git_remote` URL when linting all modules ([]()). ### Subworkflows From 2cdb158a759e31d87c655d38fb987f3ee1049572 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Fri, 21 Apr 2023 11:02:42 +0200 Subject: [PATCH 3/3] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 256c0ef81..6d99e3d11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ - Add an `--empty-template` option to create a module without TODO statements or examples ([#2175](https://github.com/nf-core/tools/pull/2175) & [#2177](https://github.com/nf-core/tools/pull/2177)) - Removed the `nf-core modules mulled` command and all its code dependencies ([2199](https://github.com/nf-core/tools/pull/2199)). -- Take into accout the provided `--git_remote` URL when linting all modules ([]()). +- Take into accout the provided `--git_remote` URL when linting all modules ([2243](https://github.com/nf-core/tools/pull/2243)). ### Subworkflows