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

chore: upgrade pyright to 1.1.385 #1438

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

IronCore864
Copy link
Contributor

@IronCore864 IronCore864 commented Oct 18, 2024

Upgrade pyright version to the latest (1.1.385).

@IronCore864 IronCore864 marked this pull request as ready for review October 18, 2024 04:41
Copy link
Collaborator

@benhoyt benhoyt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, much simpler than previous Pyright upgrades! Maybe Python types are stabilising after all.

@@ -1359,7 +1359,7 @@ def _request(
raise resp
if callable(resp):
resp = resp()
return resp
return resp # type: ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know why tge ignore ia needed now? Can we do anything else to avoid it?

@tonyandrewmeyer
Copy link
Contributor

Wow, much simpler than previous Pyright upgrades! Maybe Python types are stabilising after all.

Its ominous that one of the two features landed for 3.14 is type related though 😂.

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.

3 participants