-
### Describe the problem, ie expected/actual result (if it's not blatantly obvious)
```py
def f[T: (int, str)](t: T):
if isinstance(t, int): # always true and always false
...
```
…
-
### Describe the problem
In `scipy.special` there are a lot of "ufuncs", which are callables `numpy.ufunc` instances that have a bunch of extra attributes, methods, and automatically convert an vec…
-
### Describe the problem, ie expected/actual result (if it's not blatantly obvious)
When writing tests with pytest, any method decorated with `@pytest.fixture` causes `no-any-expr` to be reported.
…
-
- disable based denotations
- ban type inference on external apis? that sounds like a different issue entirely
@jorenham any suggestions?
-
basedtypeshed changes are being made directly in the vendored version in basedmypy, so i dont think theres any point keeping this repo
-
Mypy doesn't really care about unrecognized options in the config file, but a feature like this might help with readability.
```toml
[tool.mypy]
sus_sus = true
[tool.basedmypy]
amongus = true…
-
it's like `TYPE_CHECKING` but only true under basedmypy
There is a `MYPY` know variable name, but that's implicit magic, i don't like it.
```py
from based typing import BASEDMYPY, BASED_TYPING,…
-
## 🚀 Feature
Most other languages(Kotlin, Rust, Swift etc) have a `void`(or equivalent) return type by default. Can an option be added to have an implicit `None` return type.
```py
def foo(): # …
-
```console
> uv --version
uv 0.1.29 (365cb16fd 2024-04-04)
> uv pip install basedmypy[among] basedpyright[us]
Resolved 6 packages in 571ms
Downloaded 1 package in 19.15s
Installed 2 packages in …
-
- How to contribute, e.g.
- reporting bugs
- writing type-tests
- writing or improving stubs
- improving the CI
- cleaning up `scipy` itself (e.g. remove existing bundled `.pyi`)
- i…