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

Update pyright to 1.1.391 #2459

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Jan 12, 2025

Follow-up to #2376
Turns out it was a simple fix: Pyright is now able to infer parameter types from the superclass.
But my_compiler violates the LSP (Liskov Substitution Principle). Which is completely fin in this context. Especially given it only does so with stdlib's distutils, and not setuptool's. However distutils stubs can't be overridden by third-party stubs (ie types-setuptools see python/mypy#18484)

@Avasam Avasam requested a review from mhammond January 18, 2025 03:36
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