-
```py
from contextlib import contextmanager
from typing import Iterator
@contextmanager
def foo() -> Iterator[None]:
yield
class Bar:
@property
def asdf(self) -> int:
…
-
# Bug report
## What's wrong
> Again, this is a **really** cool project ❤️
Consider the following code:
```py
from enum import Enum, auto
import math
from typing import TypeAlias
fr…
-
```
[testenv:mypy]
deps =
mypy
commands =
- # do not lint tests yet; waiting for pytest 6.0 release
mypy --strict src {posargs}
```
and
```
[pytest]
-# only collect in…
-
I'm interesting in working on this. Would you accept a PR for it?
**Is your feature request related to a problem? Please describe.**
Type checking for code which uses argdantic isn't possible.
…
-
Playground url: https://mypy-play.net/?mypy=latest&python=3.12&flags=strict%2Cwarn-unused-configs&gist=d2e9766efcc27a2bc27d7226c0f6b444
```python
def cond1() -> bool:
return True
def cond2…
ZeeD updated
2 months ago
-
**Documentation**
Comparing the current mypy logo:
[![Type checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
With several others in the community:
…
-
Hey folks :wave: I'm working on some projects coming with type annotations and I'm using mercantile in there, too.
That's why I'm asking what your thoughts are re. type hints / mypy / [typing](http…
-
MyPy ships with a [daemon mode](https://mypy.readthedocs.io/en/stable/mypy_daemon.html) that amortizes the cost of type-checking you're entire codebase. It'd be great if `coc-python` could also use `d…
-
**Description of the issue**
Numpy does not currently have an override for the case when the type is of the form operator, indices, operator, indices, etc.
https://github.com/numpy/numpy/issues/21…
-
mypy fails to recognize `from qdrant_client import models`, and instead requires `from qdrant_client.http import models`
joein updated
2 months ago