Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes breaking pyright checks across py versions #627

Closed

Conversation

Tomaz-Vieira
Copy link
Contributor

Pyright was failing depending on the python version being used; It seems the type hints available change depending on the python version, either because the hints are gated behind version checks or because the dependencies change versions to stay compatible with the python version.

This patch squelches some warnings and tells pyright to use the version of the current interpreter instead of always using 3.8 from pyproject.toml

@Tomaz-Vieira
Copy link
Contributor Author

I think one of the tests is failing because the PR comes form a fork. Clsing and re-opening with a branch in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant