Skip to content

Commit

Permalink
Fix severity typo (#8)
Browse files Browse the repository at this point in the history
* Fix severity typo

* Remove extra brackets
  • Loading branch information
Jordan Webb authored Jun 4, 2021
1 parent f5ba0f7 commit ac63ed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
2 changes: 1 addition & 1 deletion pyright_to_rdjson.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit ac63ed5

Please sign in to comment.