basedpyright

pypi visual studio marketplace open VSX sublime text 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

  • 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

    more info

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

    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

  • Up-to-date


    when a new version of pyright is released, we merge it and release a new version of basedpyright within a day

    more info

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

    issue tracker

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