DetachHead / basedpyright

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
https://docs.basedpyright.com
Other
1.2k stars 22 forks source link

add a `library`/`application` config option #539

Open KotlinIsland opened 3 months ago

KotlinIsland commented 3 months ago

when this is application we can make a lot of assumptions about usages and the existence of types

DetachHead commented 2 months ago

application mode should also enable https://github.com/DetachHead/basedpyright/labels/based features by default, and library mode should not.

however we should also support library developers who want to use library mode but also use based features (ie. the library is only intended for basedpyright users)

DetachHead commented 1 month ago

reportUnsafeMultipleInheritance should not make reportMissingSuperCall more lenient when in library mode