sbi
sbi copied to clipboard
tests are failing because of new pyright release.
there seem to be new checks in the pyright release that lead to pyright failing in our workflow.
The latest commit on main was tested with pyright v1.1.304. the newest version is v1.1.313.
solution for now as proposed in #848 : pin pyright to last passing version and fix type issues before the next major release, or when changing to nflows.
idea: change to ruff to handle type checking more flexibly: https://docs.astral.sh/ruff/
related to #928
update: ruff does not do type checking, so we do need pyright.
Task for the PR solving this issue:
- change
pyproject.tomlto depend on most recentpyrightversion, i.e., remove the pin. - execute
pyright sbi testslocally and fix the errors or comment in the PR if not fixable.