From 28c1c7657c9da71ef9c0d49b8c095e384abfbb23 Mon Sep 17 00:00:00 2001 From: mashehu Date: Mon, 13 Nov 2023 19:57:57 +0100 Subject: [PATCH] add nf-test dependency --- nf_core/utils.py | 3 --- requirements-dev.txt | 1 + requirements.txt | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nf_core/utils.py b/nf_core/utils.py index ea3351cf1e..9326ff1c93 100644 --- a/nf_core/utils.py +++ b/nf_core/utils.py @@ -677,9 +677,6 @@ def parse_anaconda_licence(anaconda_response, version=None): l = l.replace("Clause", "clause") # BSD capitilisation l = re.sub(r"-only$", "", l) # Remove superflous GPL "only" version suffixes clean_licences.append(l) - # convert to string if only one licence - if len(clean_licences) == 1: - clean_licences = clean_licences[0] return clean_licences diff --git a/requirements-dev.txt b/requirements-dev.txt index c94874b193..fd80c3fa0b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,7 @@ black isort myst_parser +nf-test pytest-cov pytest-datafiles responses diff --git a/requirements.txt b/requirements.txt index 9cc7fc6be5..9b2a8dab92 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ GitPython jinja2 jsonschema>=3.0 markdown>=3.3 +nf-test packaging pre-commit prompt_toolkit>=3.0.3 @@ -17,3 +18,4 @@ requests_cache rich-click>=1.6.1 rich>=13.3.1 tabulate +