Skip to content

Commit 2d48219

Browse files
authored
Merge branch 'dev' into renovate/pytest-textual-snapshot-1.x
2 parents d0b7147 + 67146de commit 2d48219

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+648
-432
lines changed

.editorconfig

-30
This file was deleted.

.github/workflows/pytest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ jobs:
7575
name: Run ${{matrix.test}} with Python ${{ needs.setup.outputs.python-version }} on ${{ needs.setup.outputs.runner }}
7676
needs: [setup, list_tests]
7777
if: ${{ needs.setup.outputs.run-tests }}
78-
# run on self-hosted runners for test_components.py (because of the gitlab branch), based on the input if it is dispatched manually, on github if it is a rerun or on self-hosted by default
79-
runs-on: ${{ matrix.test == 'test_components.py' && 'self-hosted' || (github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted') }}
78+
# run on self-hosted runners for test_components_generate_snapshot.py (because of the gitlab branch), based on the input if it is dispatched manually, on github if it is a rerun or on self-hosted by default
79+
runs-on: ${{ matrix.test == 'components/test_components_generate_snapshot.py' && 'self-hosted' || (github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted') }}
8080
strategy:
8181
matrix: ${{ fromJson(needs.list_tests.outputs.tests) }}
8282
fail-fast: false # run all tests even if one fails

.github/workflows/update_components_template.yml

-46
This file was deleted.

.pre-commit-config.yaml

+22-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.9.3
3+
rev: v0.9.9
44
hooks:
55
- id: ruff # linter
66
args: [--fix, --exit-non-zero-on-fix] # sort imports and fix
@@ -10,16 +10,29 @@ repos:
1010
hooks:
1111
- id: prettier
1212
additional_dependencies:
13-
14-
15-
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
16-
rev: "3.1.2"
13+
14+
- repo: https://github.com/pre-commit/pre-commit-hooks
15+
rev: v5.0.0
1716
hooks:
18-
- id: editorconfig-checker
19-
alias: ec
20-
17+
- id: trailing-whitespace
18+
args: [--markdown-linebreak-ext=md]
19+
exclude: |
20+
(?x)^(
21+
.*\.snap$|
22+
nf_core/pipeline-template/subworkflows/.*|
23+
nf_core/pipeline-template/modules/.*|
24+
tests/pipelines/__snapshots__/.*
25+
)$
26+
- id: end-of-file-fixer
27+
exclude: |
28+
(?x)^(
29+
.*\.snap$|
30+
nf_core/pipeline-template/subworkflows/.*|
31+
nf_core/pipeline-template/modules/.*|
32+
tests/pipelines/__snapshots__/.*
33+
)$
2134
- repo: https://github.com/pre-commit/mirrors-mypy
22-
rev: "v1.14.1"
35+
rev: "v1.15.0"
2336
hooks:
2437
- id: mypy
2538
additional_dependencies:

.prettierignore

-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ tests/data/pipeline_create_template_skip.yml
1212
# don't run on things handled by ruff
1313
*.py
1414
*.pyc
15-

.prettierrc.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
printWidth: 120
2+
tabWidth: 4
3+
overrides:
4+
- files: "*.{md,yml,yaml,html,css,scss,js,cff}"
5+
options:
6+
tabWidth: 2

CHANGELOG.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,40 @@
55
### Template
66

77
- Remove the on `pull_request_target` trigger and `pull_request` types from the download test. Also drop `push` triggers on other CI tests. ([#3399](https://github.com/nf-core/tools/pull/3399))
8+
- Add nf-core template version badges to README ([#3396](https://github.com/nf-core/tools/pull/3396))
9+
- Add Bluesky badge to readme ([#3475](https://github.com/nf-core/tools/pull/3475))
810

911
### Linting
1012

1113
- Add linting for ifEmpty(null) ([#3411](https://github.com/nf-core/tools/pull/3411))
14+
- Fix arbitrarily nested params schema linting ([#3443](https://github.com/nf-core/tools/pull/3443))
15+
- fix: linting with comments after the input directive ([#3458](https://github.com/nf-core/tools/pull/3458))
16+
- EDAM ontology fixes ([#3460](https://github.com/nf-core/tools/pull/3460))
1217

1318
### Modules
1419

20+
- increase meta index for multiple input channels ([#3463](https://github.com/nf-core/tools/pull/3463))
21+
1522
### Subworkflows
1623

1724
### General
1825

1926
- output passed to write_params_file as Path object ([#3435](https://github.com/nf-core/tools/pull/3435))
2027
- chore(deps): update python:3.12-slim docker digest to 69ce3ae ([#3433](https://github.com/nf-core/tools/pull/3433))
2128
- chore(deps): update dependency pytest-textual-snapshot to v1.1.0 ([#3439](https://github.com/nf-core/tools/pull/3439))
29+
- chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.4 ([#3438](https://github.com/nf-core/tools/pull/3438))
30+
- format name/value with YAML syntax ([#3442](https://github.com/nf-core/tools/pull/3442))
31+
- chore(deps): update pre-commit hook editorconfig-checker/editorconfig-checker.python to v3.2.0 ([#3446](https://github.com/nf-core/tools/pull/3446))
32+
- chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.5 ([#3445](https://github.com/nf-core/tools/pull/3445))
33+
- chore(deps): update pre-commit hook pre-commit/mirrors-mypy to v1.15.0 ([#3447](https://github.com/nf-core/tools/pull/3447))
34+
- Update prettier to 3.5.0 ([#3448](https://github.com/nf-core/tools/pull/3448))
35+
- chore(deps): update python:3.12-slim docker digest to 34656cd ([#3450](https://github.com/nf-core/tools/pull/3450))
36+
- Remove Twitter from README ([#3454](https://github.com/nf-core/tools/pull/3454))
37+
- docs: fix contributing link in the main README ([#3459](https://github.com/nf-core/tools/pull/3459))
38+
- Cleanup: Removed Redundant if Condition ([#3468](https://github.com/nf-core/tools/pull/3468))
39+
- chore(deps): update gitpod/workspace-base docker digest to 7f35e40 ([#3473](https://github.com/nf-core/tools/pull/3473))
40+
- chore(deps): update python:3.12-slim docker digest to aaa3f8c ([#3474](https://github.com/nf-core/tools/pull/3474))
41+
- chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.9 ([#3470](https://github.com/nf-core/tools/pull/3470))
2242

2343
## [v3.2.0 - Pewter Pangolin](https://github.com/nf-core/tools/releases/tag/3.2.0) - [2025-01-27]
2444

@@ -71,7 +91,7 @@
7191
- Use outputs instead of the environment to pass around values between steps in the Download Test Action ([#3351](https://github.com/nf-core/tools/pull/3351))
7292
- Fix pre commit template ([#3358](https://github.com/nf-core/tools/pull/3358))
7393
- Set LICENSE copyright to nf-core community ([#3366](https://github.com/nf-core/tools/pull/3366))
74-
- fix including modules.config ([#3356](https://github.com/nf-core/tools/pull/3356))
94+
- Fix including modules.config ([#3356](https://github.com/nf-core/tools/pull/3356))
7595

7696
### Linting
7797

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12-slim@sha256:69ce3aed05675d284bee807e7c45e560e98db21fb1e4c670252b4ee0f2496b6d
1+
FROM python:3.12-slim@sha256:aaa3f8cb64dd64e5f8cb6e58346bdcfa410a108324b0f28f1a7cc5964355b211
22
33
description="Docker image containing requirements for nf-core/tools"
44

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pip install --upgrade -r requirements-dev.txt -e .
6161

6262
## Contributions and Support
6363

64-
If you would like to contribute to this package, please see the [contributing guidelines](.github/CONTRIBUTING.md).
64+
If you would like to contribute to this package, please see the [contributing guidelines](CONTRIBUTING.md).
6565

6666
For further information or help, don't hesitate to get in touch on the [Slack `#tools` channel](https://nfcore.slack.com/channels/tools) (you can join with [this invite](https://nf-co.re/join/slack)).
6767

0 commit comments

Comments
 (0)