basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

Based Python static type checker with baseline, sane default settings and based typing features

Results 446 basedmypy issues
Sort by recently updated
recently updated
newest added

```py a: Final = 1 A = Literal[a] # okay, because `a` is always 1 b: a = a # okay, because `a` is always 1 class C ... c:...

```py from typing import TypeAlias a: TypeAlias = 1 reveal_type(a) ```

bug

```py from typing import Final, TYPE_CHECKING # mypy: always-true = a, always-true = b a: False = False if a: # error: Condition is always false [redundant-expr] pass b: Final...

`=` means repr ```py class A: pass print(f"{A()}") # error print(f"{A()!r}") # no error print(f"{A()=}") # no error ```

feature

https://pyrefly.org/ https://zubanls.com/

documentation

### Describe the problem That is a fairly recent issue, and it is not caused by updating basedmypy, but by some other change in nixpkgs (maybe updating Python?). Bisecting it,...

bug