Commit 6f92f755 authored by Matthias Bernt's avatar Matthias Bernt
Browse files

fix formatting

parent 7e4c9da6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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):
+1 −1
Original line number Diff line number Diff line
@@ -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(),
                    )