From c0941661d487db25ada72ad33fdab8feb12408a3 Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Thu, 25 Mar 2021 13:57:19 +0100 Subject: [PATCH 1/2] Extra lint test with --release --- .github/workflows/create-lint-wf.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/create-lint-wf.yml b/.github/workflows/create-lint-wf.yml index 569cac6599..cd87a22c4e 100644 --- a/.github/workflows/create-lint-wf.yml +++ b/.github/workflows/create-lint-wf.yml @@ -48,6 +48,9 @@ jobs: - name: nf-core bump-version run: nf-core --log-file log.txt bump-version nf-core-testpipeline/ 1.1 + - name: nf-core lint in release mode + run: nf-core --log-file log.txt lint nf-core-testpipeline --fail-ignored --release + - name: nf-core modules install run: nf-core --log-file log.txt modules install nf-core-testpipeline/ --tool fastqc From 2ecae0c17d0aaa9b2855bef1e95dcd5f97e9d094 Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Thu, 25 Mar 2021 15:06:39 +0100 Subject: [PATCH 2/2] Make tracebacks shorter --- nf_core/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nf_core/__main__.py b/nf_core/__main__.py index 5ae1a28c65..fe4932759b 100755 --- a/nf_core/__main__.py +++ b/nf_core/__main__.py @@ -32,7 +32,7 @@ def run_nf_core(): # Set up the rich traceback - rich.traceback.install(width=200, word_wrap=True) + rich.traceback.install(width=200, word_wrap=True, extra_lines=1) # Print nf-core header to STDERR stderr = rich.console.Console(file=sys.stderr, force_terminal=nf_core.utils.rich_force_colors())