-
Have you thought about contributing this project to https://github.com/python/typeshed?
Unlike `django-stubs`, which has a hard dependency on mypy, this project is generic enough to be included the…
-
Refs:
- https://github.com/papadeltasierra/typeshed/actions/runs/10358301701
- https://github.com/papadeltasierra/typeshed/actions/runs/10358301703
Both these CI pipelines show errors despite me …
-
**Describe the bug**
Was attempting to create some good type stubs and got these errors:
```
Running mypy for Python 3.8...
*** Testing Python 3.8 on linux
Testing third-party packages...
testin…
-
Hi !
Does it make sense to centralise these stubs in https://github.com/python/typeshed and avoid work duplication ?
Thanks !
-
It'd be great to have a typeshed stub for enhanced build-time correctness validation with mypy, pyre-check, and the like.
-
# Bug report
### Bug description:
```python
from mimetypes import MimeTypes
m = MimeTypes()
m.add_type # type checking error
```
The `add_type` method is not defined on the class interface, and al…
-
I found this surprising and arguably incorrect. According to mypy:
```python
from typing import Any
from dataclasses import is_dataclass
def example1(arg: Any) -> None:
if is_dataclass(…
-
# Check command exited with non-zero return code: 126.
**Bug description**
When running `pyre check` which has been installed via poetry, with `poetry run pyre check` I am getting the following …
-
## Environment data
- Pylance version: v2024.8.1
- OS and version: MacOS Sonoma 14.5
- Python version (& distribution if applicable, e.g. Anaconda): 3.12
## Code Snippet
`npx …
-
The [typeshed repository](https://github.com/python/typeshed) is certainly *the* right place where to put those types. Why not submitting the project to them?