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

Whats the difference between this Extension and the microsoft pylance? #333

Closed
shanaor opened this issue Dec 2, 2024 · 4 comments
Closed
Assignees

Comments

@shanaor
Copy link

shanaor commented Dec 2, 2024

and does the pylance check the type across all files including from the imports ?

@karthiknadig
Copy link
Member

This extension is based on mypy type checker. mypy is a Python based linter that does type checking. Since it is written in Python it requires Python to run. This extension only supports linting and type checking.

Pylance uses a different type checker, in addition it also provides completions, hover, go definition , etc. it can run without Python.

@shanaor
Copy link
Author

shanaor commented Dec 2, 2024

so in the end pylance does the same as mypy and more?

and does ny of them do typechecking inrelation to imported files\functions?

@karthiknadig
Copy link
Member

so in the end pylance does the same as mypy and more?

Yes, Pylance has more features.

and does ny of them do typechecking inrelation to imported files\functions?

Both can do this.

@karthiknadig karthiknadig self-assigned this Dec 3, 2024
@eleanorjboyd
Copy link
Member

seems like the answer is resolved- comment if not and I can re-open. Thanks!

@eleanorjboyd eleanorjboyd closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants