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

Add capability for Pylance to override strings #5497

Merged
merged 3 commits into from
Jul 14, 2023

Conversation

rchiodo
Copy link
Collaborator

@rchiodo rchiodo commented Jul 13, 2023

This change allows Pylance to implement these two features:
microsoft/pylance-release#4482
microsoft/pylance-release#4368 (comment)

Essentially just a hook into when a string is loaded.

@github-actions

This comment has been minimized.

@rchiodo
Copy link
Collaborator Author

rchiodo commented Jul 13, 2023

@erictraut does this seem okay to you? I believe you suggested something along these lines in microsoft/pylance-release#4482

Copy link
Collaborator

@erictraut erictraut left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@rchiodo rchiodo merged commit b865a45 into microsoft:main Jul 14, 2023
12 checks passed
@rchiodo rchiodo deleted the rchiodo/allow_different_messages branch July 14, 2023 17:26
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.

None yet

2 participants