Skip to content

Commit ac63ed5

Browse files
author
Jordan Webb
authored
Fix severity typo (#8)
* Fix severity typo * Remove extra brackets
1 parent f5ba0f7 commit ac63ed5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
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.
99

10-
[![screenshot](screenshot.png)]
10+
![screenshot](screenshot.png)
1111

1212
This action is based on [action-eslint](https://github.com/reviewdog/action-eslint) and inspired by [pyright-action](https://github.com/jakebailey/pyright-action).
1313

pyright_to_rdjson.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def pyright_to_rdjson(jsonin: TextIO):
2020
rdjson["diagnostics"].append(
2121
{
2222
"message": f"{d['message']} ({d['rule']})",
23-
"severity": d["serverity"].upper(),
23+
"severity": d["severity"].upper(),
2424
"location": {
2525
"path": d["file"],
2626
"range": {

0 commit comments

Comments
 (0)