basedpyright
Basedpyright is a fork of pyright with various type checking improvements, pylance features and more.
-
Pylance features in any editor
basedpyright re-implements many features exclusive to pylance - microsoft's closed-source extension that can't be used outside of vscode.
-
Easy to install & pin
unlike pyright, basedpyright can be installed from PyPI without having to install NodeJS. the VSCode extension uses the same version so you never see different errors in your editor vs. the CLI
-
Strict by default & new type checking rules
basedpyright introduces many new diagnostic rules to detect potentially serious issues in your code that pyright won't catch, and all rules are enabled by default for maximum discoverability.
-
Baseline support
adopt basedpyright's stricter type checking rules effortlessly in an existing project. no need to update any of your old code
-
Up-to-date
when a new version of pyright is released, we merge it and release a new version of basedpyright within a day
-
Open to feedback
we listen to user feedback. if you encounter any problems or have an idea for a new feature, don't hesitate to open an issue.
see the Benefits over Pyright section for a comprehensive list of new features and improvements we've made to pyright.