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.
-
New type checking rules
basedpyright introduces over 10 new diagnostic rules to catch potentially serious issues in your code that would otherwise go completely undetected by pyright.
-
Easy to install
unlike pyright, using the basedpyright CLI doesn't require you to install nodeJS. just install it from PyPI like all your other dependencies.
-
Baseline support
adopt basedpyright's stricter type checking rules effortlessly in an existing project. no need to update any of your old code
-
Consistent between the editor and CLI
the basedpyright vscode extension will use the version of the PyPI package installed to your environment by default, so you never see different errors in your editor and the CLI
-
Open to feedback
unlike pyright, we listen to what the users want. 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.