Skip to content

Commit be1336d

Browse files
tox.ini/pyright: Fail tox if pyright fails (enforce check)
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
1 parent 2307823 commit be1336d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ max-line-length = 129
199199

200200
[pyright]
201201
commands =
202-
-pyright
202+
pyright --version
203+
# To make pyright checks optional, change the next line to '-pyright':
204+
pyright
203205

204206
[pytype]
205207
deps = pytype

0 commit comments

Comments
 (0)