-
Currently, `asyncpg` is untyped and has to be ignored as an import when using [`mypy`](https://mypy.readthedocs.io/en/stable/). Because of this, I created an [`asyncpg-stubs` package](https://github.c…
-
Duplicate of the unresolved closed bug #607.
Here's perfectly valid `sqlite_utils` code that raises objections from Mypy & Pyright/PyLance in VS Code:
```python
#! /usr/bin/env python3
from …
-
This package could benefit from type annotations, so that it can be type-checked when used in other software.
-
Would you be interested in me raising a PR to add mypy types to this library?
I'm using this library in a project I'm currently working on which runs mypy across the codebase. Currently, I have to …
-
Currently many more Python projects like dask and optuna are using Python type hints. With the Python package of xgboost gaining more and more features, we should also adopt mypy as a safe guard again…
-
**Bug Report**
This is a follow-on from https://github.com/python/typeshed/issues/7739. See there for additional context provided by @srittau and @AlexWaygood.
**To Reproduce**
```python
fro…
-
## Summary
Add mypy to the backend project.
## Background
- **Reason for Enhancement:**
Better type safety and readability.
## Proposed Course of Action
- **Changes:**
- [ ] Create a Mypy config fi…
-
`Lock.acquire` is defined as:
`def acquire(...) -> typing.IO[typing.AnyStr]:`
but `typing.AnyStr` is a `TypeVar`, and _"A function returning TypeVar should receive at least one argument containi…
-
Running unit tests can be slow and types could help make detecting breaking tests faster.
-
**What version of protobuf and what language are you using?**
Protobuf 4.24.0
Language: Python
**What operating system (Linux, Windows, ...) and version?**
macOS 14.5
**What runtime / c…