basedpyright icon indicating copy to clipboard operation
basedpyright copied to clipboard

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server

Results 467 basedpyright issues
Sort by recently updated
recently updated
newest added

just like #144 this is a vscode defect that pylance fails to fix, so we should fix it instead ![image](https://github.com/DetachHead/basedpyright/assets/57028336/f4b5a79c-2bc0-4a36-b03c-173427810ca7) maybe we should just make all of them purple (keyword),...

vscode
language server
syntax highlighting

I am getting invalid glibc versions with the build in version of node. I would like to use my own version of node that is installed on my machine. ```...

node

![image](https://github.com/DetachHead/basedpyright/assets/65446343/0babc9de-a48a-49b7-9176-7139d4e1a46e) ![image](https://github.com/DetachHead/basedpyright/assets/65446343/a56138c0-a039-4dd0-9289-402de98996fb) ```py from typing import Literal a: Literal["a", "b"] b: Literal["a", "b"] | str ```

language server

``` python from typing import Literal, TypeGuard, TypeVar T = TypeVar("T") def isa_literal(obj: object, t: type[T]) -> TypeGuard[T]: assert False a = isa_literal("string", Literal["string"]) # Argument of type "type[Literal['string']]" cannot...

type checking

like "Code Vision: related problems" in IntelliJ: ![image](https://github.com/DetachHead/basedpyright/assets/65446343/d392a0c7-3922-4cf2-a37d-2c2703a98247)

language server
inlay hints

Something that represents type realm types, not instances of `builtins.type`. The same as `TypeForm`, but with a different name. Issues with `type`: - Doesn't support `TypeForm`s - Constructor signatures are...

based
type checking / linting

eg. `int` is not a subtype of `float`, `float` is not a subtype of `complex`.

based
type checking / linting