Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e4ca03e
move import inline
mashehu Jul 6, 2026
688eac2
fix incorrect NFCORE_NO_VERSION_CHECK handling
mashehu Jul 6, 2026
e89f01e
move version check in a non-blocking sub-process
mashehu Jul 6, 2026
61734ee
move `SingularityCacheFilePathValidator` into `singularity.py`
mashehu Jul 6, 2026
731d236
speed up CLI by not always calling github_api by moving it to its own…
mashehu Jul 6, 2026
9c540a8
build custom questionary style lazily
mashehu Jul 6, 2026
fe1cdd8
move pydantic models into their own module to speed up utils.py
mashehu Jul 6, 2026
63b5c14
simplify cachedir setup
mashehu Jul 7, 2026
0222a40
add missing container_registry back
mashehu Jul 7, 2026
6bc2588
fix import error
mashehu Jul 7, 2026
296639a
add missing type hints
mashehu Jul 7, 2026
f9c9ed5
fix test
mashehu Jul 7, 2026
3eb9424
parallelize prek
mashehu Jul 7, 2026
02e7df8
fix tests
mashehu Jul 8, 2026
e0c79cd
rename config_models to pydantic_models
mashehu Jul 14, 2026
e843737
add version_updater.py module
mashehu Jul 14, 2026
54a75d7
unify console creation and inline more imports
mashehu Jul 14, 2026
62c556b
add cache clean-up step
mashehu Jul 15, 2026
c22fe19
fix test
mashehu Jul 15, 2026
034699b
move version check in a non-blocking sub-process
mashehu Jul 6, 2026
557ebe7
move pydantic models into their own module to speed up utils.py
mashehu Jul 6, 2026
1a18d77
simplify cachedir setup
mashehu Jul 7, 2026
8af4663
add missing container_registry back
mashehu Jul 7, 2026
a72807c
rename config_models to pydantic_models
mashehu Jul 14, 2026
371862a
add version_updater.py module
mashehu Jul 14, 2026
0d08aff
unify console creation and inline more imports
mashehu Jul 14, 2026
86a5bdf
update and sort changelog
mashehu Jul 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ repos:
hooks:
- id: ruff-check # linter
args: [--fix, --exit-non-zero-on-fix] # sort imports and fix
priority: 10
- id: ruff-format # formatter
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.1.0"
Expand All @@ -17,6 +18,7 @@ repos:
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
priority: 10
exclude: |
(?x)^(
.*\.snap$|
Expand All @@ -25,6 +27,7 @@ repos:
tests/pipelines/__snapshots__/.*
)$
- id: end-of-file-fixer
priority: 10
exclude: |
(?x)^(
.*\.snap$|
Expand All @@ -37,6 +40,7 @@ repos:
hooks:
- id: mypy
args: [--ignore-missing-imports, --scripts-are-modules, -n4]
priority: 20
additional_dependencies:
- types-PyYAML
- types-requests
Expand All @@ -48,10 +52,12 @@ repos:
rev: 0.11.19
hooks:
- id: uv-lock
priority: 20
- repo: local
hooks:
- id: lint-test-docstrings
name: Check lint test names are documented in docstrings
language: system
entry: python3 docs/api/check_lint_docstrings.py
priority: 20
files: ^nf_core/(modules|subworkflows)/lint/.*\.py$
12 changes: 6 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@

### General

- Update pre-commit hook pre-commit/mirrors-mypy to v2 ([#4270](https://github.com/nf-core/tools/pull/4270))
- container configs: use correct key for conda configs ([#4269](https://github.com/nf-core/tools/pull/4269))
- Coerce launch params_out to Path to fix AttributeError (#4299) ([#4317](https://github.com/nf-core/tools/pull/4317))
- generate valid Markdown when piping schema docs to file ([#4319](https://github.com/nf-core/tools/pull/4319))
- fix API docs bug in pydantic autodoc ([#4320](https://github.com/nf-core/tools/pull/4320))
- Update pre-commit npm dependencies to v3.8.4 ([#4335](https://github.com/nf-core/tools/pull/4335))
- Improve CLI startup speed ([#4383](https://github.com/nf-core/tools/pull/4383))

### Linting

Expand All @@ -21,12 +20,10 @@
### Modules

- `modules info`: handle one element channels correctly ([#4268](https://github.com/nf-core/tools/pull/4268))
- feat: module lint for module name granularity ([#4325](https://github.com/nf-core/tools/pull/4325))
- `module` lint for module name matching against nf-core module naming specifications ([#4325](https://github.com/nf-core/tools/pull/4325))
- Clarify execution context of nf-core modules test command ([#4346](https://github.com/nf-core/tools/pull/4346))
- Add `nf-core modules containers create` to build module containers via Seqera Wave and record them in the `containers:` section of `meta.yml` ([#3954](https://github.com/nf-core/tools/pull/3954))
- Container linting now validates the `containers:` section of `meta.yml` (Wave modules). The legacy `main.nf` container checks (URL reachability, registry prefix, docker/singularity tag match) have been removed; modules still using the old container syntax get a `deprecated_container_syntax` warning instead ([#3954](https://github.com/nf-core/tools/pull/3954))

### Subworkflows
- Add a log hint in `modules create` for `create containers` and switch `modules bump-versions` to use Seqera containers ([#4374](https://github.com/nf-core/tools/pull/4374))

### Template

Expand All @@ -45,6 +42,9 @@

#### Version updates

- Update pre-commit hook pre-commit/mirrors-mypy to v2 ([#4270](https://github.com/nf-core/tools/pull/4270))
- Update pre-commit npm dependencies to v3.8.4 ([#4335](https://github.com/nf-core/tools/pull/4335))

## [v4.0.2 - Bold Boa Patch 2](https://github.com/nf-core/tools/releases/tag/4.0.2) - [2026-04-30]

### General
Expand Down
Loading
Loading