chore: add pyright to CI
This commit is contained in:
parent
d395cbfd1d
commit
e87e3a1da8
|
@ -39,6 +39,7 @@ pycparser==2.21
|
|||
Pygments==2.14.0
|
||||
pylint==2.17.0
|
||||
pyproject_hooks==1.0.0
|
||||
pyright==1.1.359
|
||||
pytest==7.2.2
|
||||
PyYAML==6.0
|
||||
readme-renderer==37.3
|
||||
|
|
|
@ -24,6 +24,7 @@ find . -not -path './venv/*' -type f -name '*.sh' -print0 | xargs -0 shellcheck
|
|||
pytest . || err "pytest failed!"
|
||||
pylint twnet_parser/ || err "pylint failed!"
|
||||
mypy twnet_parser/ || err "mypy failed!"
|
||||
pyright twnet_parser/ || err "pyright failed!"
|
||||
if grep -r 'List\[' twnet_parser tests/
|
||||
then
|
||||
err "found usage of List[ please use list[ instead"
|
||||
|
|
Loading…
Reference in a new issue