python: use pyright

This commit is contained in:
link2xt
2023-02-20 10:33:51 +00:00
parent cdaef3bd0d
commit f2ab9456cd
7 changed files with 19 additions and 7 deletions

View File

@@ -5,6 +5,7 @@ envlist =
lint
mypy
auditwheels
pyright
[testenv]
commands =
@@ -25,6 +26,7 @@ deps =
pytest-xdist
pdbpp
requests
pyright: pyright
[testenv:.pkg]
passenv =
@@ -68,6 +70,10 @@ deps =
commands =
mypy --no-incremental src/
[testenv:pyright]
commands =
pyright
[testenv:doc]
changedir=doc
deps =