-
```py
from basedtyping import T
def deco(func: T) -> T: ...
@deco
def b(b=True) -> None: ...
reveal_type(b) # "def (b: Untyped =)"
```
-
And point to basedmypy Github instead of mypy
-
Pick up where someone has copied a `.py` file and changed it to `.pyi` to become a stub.
The following make no sense in stubs:
- a function with a body (the body will never be run, but basedmypy c…
-
That would be based I think
-
### Describe the problem, ie expected/actual result (if it's not blatantly obvious)
I added `reveal_type(some_variable)` in my code, and ran basedmypy on the file.
### Gist to reproduce
```py
…
-
We can retroactively release the wheels I think.
### Original issue
basedmypy is slow
![image](https://user-images.githubusercontent.com/57028336/146315039-aa1ac7b1-127e-4111-b3af-9fde74c9f189.…
-
### Describe the problem, ie expected/actual result (if it's not blatantly obvious)
### Gist to reproduce
```
> mypy --write-baseline test.py
No errors, baseline file removed
No errors, n…
-
eg. if i'm using basedmypy in an ide and i want baselined errors to appear as warnings and new errors to appear as errors
-
### Describe the problem, ie expected/actual result (if it's not blatantly obvious)
Attempting to use pydantic mypy plugin gives error `pyproject.toml:1: error: Error importing plugin "pydantic.myp…
-
**Feature**
```
def silly_sample1()-> bool:
return 123 == 'something' # Complain here about comparing different types of objects
def silly_sample2()-> bool:
return 'Something'.lower …