Skip to content

Commit

Permalink
Merge pull request #3480 from LouisLeNezet/lint
Browse files Browse the repository at this point in the history
Fix pipeline linting nf-core component behaviour
  • Loading branch information
LouisLeNezet authored Mar 6, 2025
2 parents 67146de + 3365067 commit 8451416
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@

- Add linting for ifEmpty(null) ([#3411](https://github.com/nf-core/tools/pull/3411))
- Fix arbitrarily nested params schema linting ([#3443](https://github.com/nf-core/tools/pull/3443))
- fix: linting with comments after the input directive ([#3458](https://github.com/nf-core/tools/pull/3458))
- Fix: linting with comments after the input directive ([#3458](https://github.com/nf-core/tools/pull/3458))
- EDAM ontology fixes ([#3460](https://github.com/nf-core/tools/pull/3460))
- Fix default linting of nf-core components when `nf-core pipelines lint` is ran ([#3480](https://github.com/nf-core/tools/pull/3480))

### Modules

Expand Down
2 changes: 1 addition & 1 deletion nf_core/pipelines/lint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def run_linting(
lint_obj._load_lint_config()
lint_obj.load_pipeline_config()

if lint_obj.lint_config and not lint_obj.lint_config["nfcore_components"]:
if lint_obj.lint_config and lint_obj.lint_config["nfcore_components"] is not None:
module_lint_obj = None
subworkflow_lint_obj = None
else:
Expand Down

0 comments on commit 8451416

Please sign in to comment.