-
**Describe the bug**
type annotation for Index/MultiIndex.names is incorrect
**To Reproduce**
1. Provide a minimal runnable `pandas` example that is not properly checked by the stubs.
```
…
-
Mypy supports splitting types by Python versions by interpreting `if sys.version_info ...` checks. But we have no mechanism to conditionally split types by Django version. This has lead to lots of sma…
-
**Why is this feature valuable to you? Does it solve a problem you're having?**
Type checking of Python code can be incredibly helpful to write readable and maintainable code.
**Describe the solu…
-
I'm not 100% sure but I think that if you change version of `django-stubs` but keep the same version of `mypy` after a cached run, `mypy` reuses the cache and there could possibly be crashes or all s…
-
See https://typing.readthedocs.io/en/latest/spec/distributing.html#import-conventions
A normal `from foo import bar` in module `a` should not allow another module to do `from a import bar`; an expl…
-
**Bug Report**
When untyped module exists but submodule does not, `mypy` reports that submodule is installed.
**To Reproduce**
```shell
$ pip install fabric
```
```python3
import fabric
…
jolaf updated
2 months ago
-
I noticed that running mypy (https://github.com/python/mypy) on this project shows a bunch of type errors, and I was wondering if you would be interested in accepting a pull request wherein I add type…
-
**Describe the bug**
Recently https://github.com/pandas-dev/pandas-stubs/pull/972 introduced a `TypeIs` annotation for `pd.isna`. The annotation states that the function returns True if and only if…
-
This issue is used to centrally track issues related to using mypy together with popular third-party packages (either using inline types or stubs). These issues can impact a large number of users, and…
-
### Describe the problem
While stubtesting [`scipy-stubs`](https://github.com/jorenham/scipy-stubs) while working on a new feature, I got served with the following errors:
```shell
$ stubtest -…