Skip to content

Commit cd00f2e

Browse files
committed
Fix linting
1 parent 5137b4a commit cd00f2e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nf_core/pipelines/lint/__init__.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,11 @@ def run_linting(
599599
lint_obj._load_lint_config()
600600
lint_obj.load_pipeline_config()
601601

602-
if lint_obj.lint_config and lint_obj.lint_config["nfcore_components"] is not None and not lint_obj.lint_config["nfcore_components"]:
602+
if (
603+
lint_obj.lint_config
604+
and lint_obj.lint_config["nfcore_components"] is not None
605+
and not lint_obj.lint_config["nfcore_components"]
606+
):
603607
module_lint_obj = None
604608
subworkflow_lint_obj = None
605609
else:

0 commit comments

Comments
 (0)