-
**Bug Report**
Applying `TypeIs` to narrow type of an iterable results in too optimistic reachability analysis.
**To Reproduce**
```python
from collections.abc import Iterable
from typing_e…
-
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
- `python3 -sBm build -w`
- …
-
**Bug Report**
When there is only one member of the enum, `mypy` doesn't perform full exhaustiveness checking and reaches `assert_never` statement, although it shouldn't.
**To Reproduce**
[my…
otaj updated
3 months ago
-
### Is your feature request related to a problem?
It looks like pyright is good at catching issues with types annotations, e.g.
- #4083
- #4084
It would make sense to catch these kind of issue…
-
### 🐛 Describe the bug
Reproducing example:
```
>>> import torch
>>> from torch.fx.experimental.shape_inference.infer_shape import infer_shape
Traceback (most recent call last):
File "", lin…
-
## Environment data
- VS Code version: 1.44.2
- Extension version (available under the Extensions sidebar): 2020.4.76186
- OS and version: macOS Catalina 10.15.4 (19E287)
- Python versio…
-
Hi!
I've converted some old code from `tornado.gen` based coroutines to native coroutines, in order to be able to add static type checking using mypy (version `0.950`). However, I've got some prob…
-
Hello,
Thanks for the awesome library! I would like to ask how can we allow custom classes derived from `Column` to pass `mypy` type checking. More concretely, let us suppose we have the following …
-
-
**Bug Report**
Mypy allows type-unsafe code.
**To Reproduce**
https://mypy-play.net/?mypy=1.0.0&python=3.10&gist=ab7449de421b39046dadf9c022d82e77
```py
from abc import abstractm…