Skip to content

Commit

Permalink
Fix check for pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 committed Oct 23, 2023
1 parent 0aeb7c5 commit bccc0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pyright/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def run_pyright(code: str, strict: bool = True) -> List[Result]:
f.write(code)

process_result = subprocess.run(
["pyright", f.name], stdout=subprocess.PIPE, check=True
["pyright", f.name], stdout=subprocess.PIPE, check=False
)

os.unlink(f.name) # noqa: PTH108
Expand Down

0 comments on commit bccc0e8

Please sign in to comment.