-
Sorry for the long title! I found a small issue when using `disallow-untyped-decorators` and while having a decorated function inside another function, here's the reproduction:
https://mypy-play.ne…
-
## Search Terms
JSDoc package directory package-private
## Suggestion
If an export is annotated with `@package`, that export is visible only to files in the same directory.
I can think of …
-
Pyre claims to try to match compatibility with `mypy`, which has a documented usage of decorators that Pyre can't seem to handle (tested in version 0.0.57).
See here: https://mypy.readthedocs.io/en…
-
(whispter_test) C:\qualcomm\ai-hub-apps\apps\windows\python\Whisper>python -m qai-hub-models.models.whisper_base_en.export --target-runtime onnx
C:\qualcomm\whispter_test\Scripts\python.exe: Error wh…
-
### Use case
> [!note]
> This is a cross-language feature request that was originally brought up under aws-powertools/powertools-lambda-typescript#2337
As a customer who uses canonical logging - …
-
The following works with typeguard but not beartype.
```
from typing_extensions import Protocol
from beartype import beartype as typechecker
#from typeguard import typechecked as typechecker…
-
我发现我在启动PPOCRLabel时,出现了如下情况
```
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/Mashiro/.pyenv/versions/3.10.10/bin/platforms" ...
qt.qpa.plugin: …
-
This one's just weird. I'm not sure if this is a dup of #1927, but I figured I'd raise it anyway.
``` python
# test_case.py
from typing import Callable, Iterable, TypeVar, Union
_T = TypeVar("…
-
**Bug Report**
I've boiled down a minimal example -- this pattern is used by `pyupgrade` (and `reorder-python-imports`) to register ast functions and has been working with mypy since version 0.71…
-
# Bug report
I tried out returns, because I was looking for typesafe curry implementation, but I hit a problem with my Generic / Protocol implementing attrs classes.
## What's wrong
```python
…