-
I get an error when I run mypy through Darker.
command:
```
darker --diff --lint "mypy ."
```
stdout:
```
Loading .env environment variables...
Courtesy Notice: Pipenv found itself running…
-
# Reproducer
```
python3.8 -m venv /tmp/py38
source /tmp/py38/bin/activate
pip -q install mypy
stubtest concurrent.futures
```
# Tentative fix
```diff
diff --git a/stdlib/concurrent/fut…
-
**Describe your idea**
It would be great if this project also generated `TypedDict`s for function arguments.
Why it's useful: library authors often want to allow the end users to pass arbitrary `…
-
My package does not use pybind11 hacky enums, but instead derives enums from `enum.Enum` using a popular [helper macro](https://gist.github.com/anntzer/96f27c0b88634dbc61862d08bff46d10).
However, i…
-
# Bug report
# Description
I am facing an issue with django-stubs where reverse relations are not recognized by mypy. Despite trying multiple threads and solutions, including those in the followin…
-
If the duck typed types were actually unions of all the ducklings then it would fix a bunch of edge cases that arise.
And would make this feature more easily understood and discovered.
```py
def fu…
-
**Bug Report**
MyPy is reporting problems with dependencies in site-packages.
**To Reproduce**
To be honest, I'm having trouble reproducing a minimal example I can share. I don't understand w…
-
# Reasons
* Improving developer experience with this library.
* Possibility to use static type analysis for the code base.
# Introduction of Type Annotations
- Do some refactoring.
- …
-
@jamesohortle the code as it stands is a strong improvement to the codebase. I'm happy for you to merge into the dev branch now, and put those TODO items in an issue for enhancement in the future.
Al…
-
I've tried to import this library, but that fails for the environment that I"m using:
```
❯ poetry run python
Python 3.9.19 (main, Apr 17 2024, 00:00:00)
[GCC 14.0.1 20240411 (Red Hat 14.0.1-0)…