Loading lib/galaxy/tool_util/linters/cwl.py +3 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,9 @@ class CWLVersionUnknown(Linter): raw_reference = schema_loader.raw_process_reference(tool_source.source_path) cwl_version = raw_reference.process_object.get("cwlVersion", None) if cwl_version not in ["v1.0"]: lint_ctx.warn(f"CWL version [{cwl_version}] is unknown, we recommend the v1.0 the stable release.", linter=cls.name()) lint_ctx.warn( f"CWL version [{cwl_version}] is unknown, we recommend the v1.0 the stable release.", linter=cls.name() ) class CWLVersionGood(Linter): Loading lib/galaxy/tool_util/linters/tests.py +1 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ class TestsAssertionValidation(Linter): error_str = _cleanup_pydantic_error(e) lint_ctx.warn( f"Test {test_idx}: failed to validate assertions. Validation errors are [{error_str}]", linter=cls.name() linter=cls.name(), ) Loading Loading
lib/galaxy/tool_util/linters/cwl.py +3 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,9 @@ class CWLVersionUnknown(Linter): raw_reference = schema_loader.raw_process_reference(tool_source.source_path) cwl_version = raw_reference.process_object.get("cwlVersion", None) if cwl_version not in ["v1.0"]: lint_ctx.warn(f"CWL version [{cwl_version}] is unknown, we recommend the v1.0 the stable release.", linter=cls.name()) lint_ctx.warn( f"CWL version [{cwl_version}] is unknown, we recommend the v1.0 the stable release.", linter=cls.name() ) class CWLVersionGood(Linter): Loading
lib/galaxy/tool_util/linters/tests.py +1 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ class TestsAssertionValidation(Linter): error_str = _cleanup_pydantic_error(e) lint_ctx.warn( f"Test {test_idx}: failed to validate assertions. Validation errors are [{error_str}]", linter=cls.name() linter=cls.name(), ) Loading