Skip to content

Commit

Permalink
tox.ini/pyright: Fail tox if pyright fails (enforce check)
Browse files Browse the repository at this point in the history
Signed-off-by: Bernhard Kaindl <[email protected]>
  • Loading branch information
bernhardkaindl committed Nov 15, 2024
1 parent 96a73d3 commit c1ebd7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ max-line-length = 129

[pyright]
commands =
-pyright
pyright --version
# To make pyright checks optional, change the next line to '-pyright':
pyright

[pytype]
deps = pytype
Expand Down

0 comments on commit c1ebd7b

Please sign in to comment.