-
https://blog.whtsky.me/tech/2021/dont-forget-py.typed-for-your-typed-python-package/
https://mypy.readthedocs.io/en/stable/running_mypy.html
-
Hi!
I am checking my code with ``mypy`` and would like to ask that we somehow add support. When I run mypy on my filters I get the following message:
```stderr
scripts/filters/util.py:7: error:…
-
Hi! With other pytest plugins that I'm familiar with, the base tool name is shown in the reportinfo header for files. I think this helps a user to parse the output. For example, pytest-pylint shows:
…
-
- disable based denotations
- ban type inference on external apis? that sounds like a different issue entirely
@jorenham any suggestions?
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
Hi,
with the latest version of pydantic (`2.10.1`) and the mypy plugin, we observe some false positive with type val…
-
mypy was [recently upgraded to 1.12.0](https://github.com/openedx/edx-platform/pull/35651), and CI ran on that upgrade PR without issue.
Once that PR was merged in with the changes from [this colle…
-
```
mypy 1.12.0 (compiled: yes)
monai/data/utils.py:562:17: error: Item "ItemsView[Any, Any]" of "Union[Iterator[tuple[Any, Any]], ItemsView[Any, Any], enumerate[Any]]" has no attribute "__next__" …
-
In [a monorepo setting](https://github.com/lablup/backend.ai) using [Pantsbuild](https://www.pantsbuild.org/), various Python tools are installed in separate virtaulenvs like:
- `dist/export/python…
-
Add to `.pre-commit-config.yaml` to enforce that:
```
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
hooks:
- id: mypy
files: "src"
```
-
Mypy reports some methods as returning a "Never" type due to [this issue](https://github.com/python/mypy/issues/16788). Once that issue is fixed by [this PR](https://github.com/python/mypy/pull/17310)…