diff --git a/README.md b/README.md index 582ad42..ee074d9 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This is an action that runs the [pyright](https://github.com/Microsoft/pyright) type checker against your Python code, and uses [reviewdog](https://github.com/reviewdog/reviewdog) to create GitHub PR comments or reviews with the results. -[![screenshot](screenshot.png)] +![screenshot](screenshot.png) This action is based on [action-eslint](https://github.com/reviewdog/action-eslint) and inspired by [pyright-action](https://github.com/jakebailey/pyright-action). diff --git a/pyright_to_rdjson.py b/pyright_to_rdjson.py index 1f22149..96b6310 100755 --- a/pyright_to_rdjson.py +++ b/pyright_to_rdjson.py @@ -20,7 +20,7 @@ def pyright_to_rdjson(jsonin: TextIO): rdjson["diagnostics"].append( { "message": f"{d['message']} ({d['rule']})", - "severity": d["serverity"].upper(), + "severity": d["severity"].upper(), "location": { "path": d["file"], "range": {