Repository navigation
Diff from [mypy_primer](https://github.com/hauntsaninja/mypy_primer), showing the effect of this PR on open source code: #22278
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Description
Diff from mypy_primer, showing the effect of this PR on open source code:
dacite (https://github.com/konradhalas/dacite)
- dacite/data.py:4: error: Unused "type: ignore" comment [unused-ignore]
DateType (https://github.com/glyph/DateType)
- src/datetype/__init__.py:29: error: Unused "type: ignore" comment [unused-ignore]
prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/utilities/asyncutils/__init__.py:361: error: Incompatible return value type (got "_Wrapped[P, Coroutine[Any, Any, Any], [VarArg(Any), DefaultNamedArg(bool | None, '_sync'), KwArg(Any)], Coroutine[Any, Any, Any]]", expected "Callable[P, R? | Coroutine[Any, Any, R?]]") [return-value]
+ src/prefect/utilities/asyncutils/__init__.py:361: error: Incompatible return value type (got "_Wrapped[P, Coroutine[Any, Any, R?], [VarArg(Any), DefaultNamedArg(bool | None, '_sync'), KwArg(Any)], Coroutine[Any, Any, R?]]", expected "Callable[P, R? | Coroutine[Any, Any, R?]]") [return-value]
- src/prefect/utilities/asyncutils/__init__.py:361: note: "_Wrapped[P, Coroutine[Any, Any, Any], [VarArg(Any), DefaultNamedArg(bool | None, '_sync'), KwArg(Any)], Coroutine[Any, Any, Any]].__call__" has type "def __call__(*args: Any, _sync: bool | None = ..., **kwargs: Any) -> Coroutine[Any, Any, Any]"
+ src/prefect/utilities/asyncutils/__init__.py:361: note: "_Wrapped[P, Coroutine[Any, Any, R?], [VarArg(Any), DefaultNamedArg(bool | None, '_sync'), KwArg(Any)], Coroutine[Any, Any, R?]].__call__" has type "def __call__(*args: Any, _sync: bool | None = ..., **kwargs: Any) -> Coroutine[Any, Any, R?]"
websockets (https://github.com/aaugustin/websockets)
+ src/websockets/asyncio/server.py:672: error: Unused "type: ignore" comment [unused-ignore]
core (https://github.com/home-assistant/core)
- Warning: disabling incremental mode may severely reduce performance
- If this is intentional, delete '.mypy_cache' to suppress this warning
+ homeassistant/util/logging.py:272: error: "Coroutine[Any, Any, _T]" has no attribute "__name__" [attr-defined]
beartype (https://github.com/beartype/beartype)
+ beartype/_util/hint/pep/proposal/pep544.py:115: error: Unused "type: ignore" comment [unused-ignore]
trio (https://github.com/python-trio/trio)
+ src/trio/_tests/test_exports.py:36: error: Incompatible types in assignment (expression has type "type[typing._Protocol]", variable has type "type[typing_extensions._Protocol]") [assignment]
dd-trace-py (https://github.com/DataDog/dd-trace-py)
- ddtrace/internal/wrapping/context.py:490: error: Trying to assign name "atexit" that is not in "__slots__" of type "weakref.finalize" [misc]
- ddtrace/internal/wrapping/context.py:965: error: Trying to assign name "atexit" that is not in "__slots__" of type "weakref.finalize" [misc]
meson (https://github.com/mesonbuild/meson)
+ mesonbuild/minstall.py:43:9: error: Incompatible import of "Protocol" (imported name has type "type[typing_extensions._Protocol]", local name has type "type[typing._Protocol]") [assignment]
archinstall (https://github.com/archlinux/archinstall)
+ archinstall/lib/installer.py:2051: error: Unused "type: ignore" comment [unused-ignore]
+ archinstall/lib/installer.py:2117: error: Unused "type: ignore" comment [unused-ignore]
+ examples/interactive_installation.py:195: error: Unused "type: ignore" comment [unused-ignore]
+ archinstall/scripts/guided.py:195: error: Unused "type: ignore" comment [unused-ignore]
+ archinstall/examples/interactive_installation.py:195: error: Unused "type: ignore" comment [unused-ignore]
Originally posted by @github-actions[bot] in #22054 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
A5rocks commentedon Oct 22, 2026
What?