Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisLeNezet committed Mar 5, 2025
1 parent 5137b4a commit cd00f2e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nf_core/pipelines/lint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,11 @@ def run_linting(
lint_obj._load_lint_config()
lint_obj.load_pipeline_config()

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

0 comments on commit cd00f2e

Please sign in to comment.