diff --git a/mypy_to_rdjson/mypy_to_rdjson.py b/mypy_to_rdjson/mypy_to_rdjson.py index 48cd8ba..3a53b0f 100644 --- a/mypy_to_rdjson/mypy_to_rdjson.py +++ b/mypy_to_rdjson/mypy_to_rdjson.py @@ -18,8 +18,12 @@ def mypy_to_rdjson(jsonlines: TextIO): for json_item in jsonlines.readlines(): mypy_result.append(json.loads(json_item)) + # "$schema": "https://raw.githubusercontent.com/reviewdog/reviewdog/master/proto/rdf/jsonschema/DiagnosticResult.json", rdjson: Dict[str, Any] = { - "source": {"name": "mypy", "url": "https://mypy-lang.org/"}, + "source": { + "name": "mypy", + "url": "https://mypy-lang.org/", + }, "severity": "WARNING", "diagnostics": [], }