From 132d09c7f0098a0d9b47ce2bc91b04d87aae49f3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 1 Jan 2025 03:24:57 +0000 Subject: [PATCH 1/2] Update pre-commit hook pre-commit/mirrors-mypy to v1.14.1 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 68a6fa3ed7..24152cf748 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: alias: ec - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.13.0" + rev: "v1.14.1" hooks: - id: mypy additional_dependencies: From 19070e53c03fbb5eb1f90edd0bd2529264d4368c Mon Sep 17 00:00:00 2001 From: mashehu Date: Tue, 7 Jan 2025 16:22:32 +0100 Subject: [PATCH 2/2] remove type hint to make mypy pass --- nf_core/pipelines/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nf_core/pipelines/download.py b/nf_core/pipelines/download.py index 11adebce2c..31dd4b06bd 100644 --- a/nf_core/pipelines/download.py +++ b/nf_core/pipelines/download.py @@ -1536,7 +1536,7 @@ def singularity_pull_image( progress.remove_task(task) - def compress_download(self) -> None: + def compress_download(self): """Take the downloaded files and make a compressed .tar.gz archive.""" log.debug(f"Creating archive: {self.output_filename}")