-
**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
…
-
### Description of the feature request:
To support mypy type checking, please add support for mypy stubs library.
Example error message:
```python
# File contents:
from google.generative…
-
Type stubs can be provided in separate packages. For example, a package `foo` has a companion package `types-foo` or `foo-stubs`.
With poetry, a typical _pyproject.toml_ file looks like this:
``…
-
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…
-
# Bug report
I've updated `django-stubs-ext` from 0.4.0 to 0.5.0 and got a lof of error messages from mypy. Before, mypy didn't complain
There might actually be nothing wrong with django-stubs, …
-
At the moment the python code is getting a lint error when because types `Demography`, `State` etc. are not know. Can we generate stubs for these? https://mypy.readthedocs.io/en/stable/stubgen.html
r-ash updated
3 months ago
-
would be nice to have type hints added to the library
mypy currently complains due to `univers: module is installed, but missing library stubs or py.typed marker`
https://peps.python.org/pep-048…
-
**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…
-
**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 trying to write a test that runs mypy. I _thought_ I had the following working in rules_python 0.22.0:
```shell
$ ls -A
.bazelversion BUILD MODULE.bazel WORKSPACE bar.py foo.py lint.bzl…