basedpyright
basedpyright copied to clipboard
pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
just like #144 this is a vscode defect that pylance fails to fix, so we should fix it instead  maybe we should just make all of them purple (keyword),...
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. ```...
  ```py from typing import Literal a: Literal["a", "b"] b: Literal["a", "b"] | str ```
``` 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...
like "Code Vision: related problems" in IntelliJ: 
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...
eg. `int` is not a subtype of `float`, `float` is not a subtype of `complex`.