Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
pyright
Fork with experimental browser support. See https://github.com/microbit-foundation/pyright/blob/microbit/THIS_FORK.md for more information (by microbit-foundation)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
From this comparison (https://github.com/microsoft/pyright/blob/main/docs/mypy-com...) it looks like Pyright fixes a load of issues that MyPy has. It also seems much closer to how TypeScript works (I have worked significantly more with TypeScript than typed Python and really like it)
Is there a reason not to go with Pyright and stick with MyPy?
The Micro:bit Educational Foundation do it for https://python.microbit.org/ where the scope is conveniently limited (to MicroPython running on a device with finite flash/RAM)
The Micro:bit Educational Foundation do it for https://python.microbit.org/ where the scope is conveniently limited (to MicroPython running on a device with finite flash/RAM)
The precedence should be: "typing" folder in workspace root -> project "extra paths" -> python search paths -> pylance bundled.
If that's not working for you you should open an issue at https://github.com/microsoft/pylance-release.
Related posts
- Joys of Installing Python For The Umpteenth Time
- Open source versus Microsoft: The new rebellion begins
- How to Develop a User Data Storage Registration Form Using Python.
- Sapling: A highly experimental vi-inspired editor where you edit code, not text
- How to debug Django inside a Docker container with VSCode