basedpyright

pypi visual studio marketplace open VSX sublime text pycharm homebrew Discord basedpyright - checked

Basedpyright is a fork of pyright with various type checking improvements, pylance features and more.

🛝 Playground

  • 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.

    more info

  • 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.

    more info

  • 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.

    more info

  • Baseline support


    adopt basedpyright's stricter type checking rules effortlessly in an existing project. no need to update any of your old code

    more info

  • 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

    more info

  • 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.

    issue tracker

see the Benefits over Pyright section for a comprehensive list of new features and improvements we've made to pyright.