Conversation
This type never existed at runtime, and was replaced by `types.EllipsisType`.
This was referenced May 7, 2026
Contributor
|
Diff from mypy_primer, showing the effect of this PR on open source code: anyio (https://github.com/agronholm/anyio)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
- src/anyio/_core/_eventloop.py:21: error: Name "sniffio" already defined on line 19 [no-redef]
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
- src/anyio/pytest_plugin.py:102: error: Untyped decorator makes function "pytest_fixture_setup" untyped [untyped-decorator]
- src/anyio/pytest_plugin.py:151: error: Untyped decorator makes function "pytest_pycollect_makeitem" untyped [untyped-decorator]
- src/anyio/pytest_plugin.py:193: error: Unused "type: ignore" comment [unused-ignore]
- src/anyio/pytest_plugin.py:227: error: Untyped decorator makes function "pytest_pyfunc_call" untyped [untyped-decorator]
- src/anyio/pytest_plugin.py:264: error: Untyped decorator makes function "anyio_backend" untyped [untyped-decorator]
- src/anyio/pytest_plugin.py:269: error: Untyped decorator makes function "anyio_backend_name" untyped [untyped-decorator]
- src/anyio/pytest_plugin.py:277: error: Untyped decorator makes function "anyio_backend_options" untyped [untyped-decorator]
- src/anyio/pytest_plugin.py:346: error: Untyped decorator makes function "free_tcp_port_factory" untyped [untyped-decorator]
- src/anyio/pytest_plugin.py:351: error: Untyped decorator makes function "free_udp_port_factory" untyped [untyped-decorator]
- src/anyio/pytest_plugin.py:356: error: Untyped decorator makes function "free_tcp_port" untyped [untyped-decorator]
- src/anyio/pytest_plugin.py:361: error: Untyped decorator makes function "free_udp_port" untyped [untyped-decorator]
- src/anyio/_backends/_trio.py:192: error: Unused "type: ignore" comment [unused-ignore]
- src/anyio/_backends/_trio.py:325: error: Class cannot subclass "Instrument" (has type "Any") [misc]
- src/anyio/_backends/_trio.py:366: error: Unused "type: ignore" comment [unused-ignore]
aioredis (https://github.com/aio-libs/aioredis)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
- aioredis/exceptions.py:14: error: Duplicate base class "TimeoutError" [misc]
- aioredis/utils.py:45: error: Unused "type: ignore" comment [unused-ignore]
- aioredis/connection.py:455: error: Type of variable becomes "Any | None" due to an unfollowed import [no-any-unimported]
- aioredis/connection.py:933: error: Unsupported right operand type for in ("bytes | memoryview[int] | int") [operator]
- aioredis/connection.py:934: error: Item "memoryview[int]" of "bytes | memoryview[int] | int" has no attribute "split" [union-attr]
- aioredis/connection.py:934: error: Item "int" of "bytes | memoryview[int] | int" has no attribute "split" [union-attr]
- aioredis/connection.py:1201: error: Unused "type: ignore" comment [unused-ignore]
- aioredis/connection.py:1201: error: TypedDict key must be a string literal; expected one of ("username", "password", "connection_class", "host", "port", ...) [literal-required]
- aioredis/connection.py:1201: note: Error code changed to literal-required; "type: ignore" comment may be out of date
- aioredis/connection.py:1205: error: Unused "type: ignore" comment [unused-ignore]
- aioredis/connection.py:1205: error: TypedDict key must be a string literal; expected one of ("username", "password", "connection_class", "host", "port", ...) [literal-required]
- aioredis/connection.py:1205: note: Error code changed to literal-required; "type: ignore" comment may be out of date
- aioredis/client.py:94: error: Unused "type: ignore" comment [unused-ignore]
- aioredis/client.py:146: error: Signature of "update" incompatible with supertype "typing.MutableMapping" [override]
- aioredis/client.py:146: note: Superclass:
- aioredis/client.py:146: note: @overload
- aioredis/client.py:146: note: def update(self, SupportsKeysAndGetItem[Any, Any], /) -> None
- aioredis/client.py:146: note: @overload
- aioredis/client.py:146: note: def update(self, SupportsKeysAndGetItem[str, Any], /, **kwargs: Any) -> None
- aioredis/client.py:146: note: @overload
- aioredis/client.py:146: note: def update(self, Iterable[tuple[Any, Any]], /) -> None
- aioredis/client.py:146: note: @overload
- aioredis/client.py:146: note: def update(self, Iterable[tuple[str, Any]], /, **kwargs: Any) -> None
- aioredis/client.py:146: note: @overload
- aioredis/client.py:146: note: def update(self, **kwargs: Any) -> None
- aioredis/client.py:146: note: Subclass:
- aioredis/client.py:146: note: def update(self, data: Any) -> Any
- aioredis/client.py:4114: error: Incompatible types in assignment (expression has type "dict[bytes | str | memoryview[int], Any | None]", variable has type "dict[bytes | str | memoryview[int], Callable[[dict[str, str]], Awaitable[None]]]") [assignment]
- aioredis/client.py:4116: error: Unused "type: ignore" comment [unused-ignore]
- aioredis/client.py:4152: error: Unused "type: ignore" comment [unused-ignore]
- aioredis/client.py:4158: error: Argument 1 to "update" of "MutableMapping" has incompatible type "dict[bytes | str | memoryview[int], Any | None]"; expected "SupportsKeysAndGetItem[bytes | str | memoryview[int], Callable[[dict[str, str]], Awaitable[None]]]" [arg-type]
- aioredis/client.py:4172: error: Incompatible types in assignment (expression has type "dict[bytes | str | memoryview[int], Callable[[dict[str, str]], Awaitable[None]]]", variable has type "dict[Any, Any | None]") [assignment]
beartype (https://github.com/beartype/beartype)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
- beartype/_util/kind/maplike/utilmaptest.py:97: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_cave/_cavefast.py:188: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/text/utiltextjoin.py:123: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/utilfuncwrap.py:349: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/utilfuncframe.py:1239: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/utilfunccodeobj.py:130: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/utilfunccodeobj.py:348: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/error/utilerrwarn.py:83: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/error/utilerrwarn.py:89: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/error/utilerrwarn.py:129: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/api/external/utilclick.py:104: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/api/external/utilclick.py:111: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/text/utiltextlabel.py:179: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/kind/maplike/utilmapfrozen.py:222: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/utilfuncmake.py:24: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/utilfuncmake.py:308: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/utilfuncmake.py:313: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/utilfuncmake.py:355: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/utilfuncmake.py:356: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/utilfuncscope.py:707: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/arg/utilfuncargiter.py:404: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/arg/utilfuncargiter.py:419: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/arg/utilfuncargiter.py:424: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/utilhintfactory.py:46: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/api/external/utilnumpy.py:253: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_conf/_confoverrides.py:89: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdreffake.py:339: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep696.py:118: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep585.py:373: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep557.py:81: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep749/pep649749annotate.py:518: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep646/pep646692unpack.py:483: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep646/pep646692unpack.py:520: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep646/pep646692unpack.py:609: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/pep484585args.py:61: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484union.py:87: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484604union.py:150: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484604union.py:278: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484604union.py:283: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:99: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:278: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:441: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:539: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:602: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:890: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/metadata/hint/hintsane.py:435: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/utilpepget.py:911: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/utilpepget.py:1045: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep544.py:428: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep544.py:481: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep544.py:488: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/pep484585func.py:110: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484generic.py:149: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484generic.py:177: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/_decordescriptor.py:92: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/_decordescriptor.py:143: error: Unused "type: ignore[assignment, union-attr]" comment [unused-ignore]
- beartype/_decor/_nontype/_decordescriptor.py:144: error: Unused "type: ignore[assignment, union-attr]" comment [unused-ignore]
- beartype/_decor/_nontype/_decordescriptor.py:145: error: Unused "type: ignore[assignment, union-attr]" comment [unused-ignore]
- beartype/_decor/_nontype/_decordescriptor.py:263: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/pep/checkpep484typevar.py:178: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_reduce/_redrecurse.py:230: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_reduce/_pep/pep484585/redpep484585itemsview.py:72: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_reduce/_pep/pep484585/redpep484585itemsview.py:82: error: Unused "type: ignore[assignment]" comment [unused-ignore]
- beartype/_conf/confmain.py:1437: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_reduce/_nonpep/api/redapinumpy.py:102: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_reduce/_nonpep/api/redapinumpy.py:193: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_reduce/_nonpep/api/redapinumpy.py:243: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:300: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:374: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:395: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:451: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:521: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:544: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:575: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:576: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:611: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:715: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:716: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py:740: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/metadata/call/callmetadecormin.py:197: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:125: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:336: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:415: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:674: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:718: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:874: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:878: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:983: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:989: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep695.py:640: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_reduce/_pep/pep484/redpep484ref.py:280: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/utilpepsign.py:589: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep612.py:90: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep612.py:96: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep612.py:167: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep612.py:227: error: Unused "type: ignore[attr-defined]" comment [unused-ignore]
- beartype/_util/hint/pep/proposal/pep612.py:260: error: Unused "type: ignore[attr-defined]" comment [unused-ignore]
- beartype/_decor/_type/_pep/decortypepep557.py:305: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_reduce/_pep/redpep484612646.py:219: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_reduce/_pep/redpep484612646.py:641: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_reduce/_pep/redpep484612646.py:1247: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_type/decortype.py:87: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_type/decortype.py:226: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_convcoerce.py:206: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/convert/_convcoerce.py:418: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/metadata/hint/hintsmeta.py:401: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/error/errcause.py:568: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/error/errmain.py:193: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/code/_pep/codepep484604.py:206: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/code/_pep/pep484585/codepep484585subclass.py:115: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/code/_pep/pep484585/codepep484585subclass.py:125: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/code/_pep/pep484585/codepep484585subclass.py:139: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/code/codemain.py:754: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/code/codemain.py:871: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/checkmake.py:948: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/_wrap/_wrapreturn.py:84: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/_wrap/_wrapargs.py:162: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/_wrap/_wrapargs.py:227: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/_wrap/_wrapargs.py:329: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:161: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:220: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:258: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:311: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:318: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:398: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:400: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:417: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:611: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:699: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/decorcore.py:129: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/decorcore.py:133: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_decor/decorcore.py:270: error: Unused "type: ignore" comment [unused-ignore]
- beartype/door/_cls/doormeta.py:138: error: Unused "type: ignore" comment [unused-ignore]
- beartype/door/_cls/doormeta.py:204: error: Unused "type: ignore" comment [unused-ignore]
- beartype/bite/kind/inferthirdparty.py:125: error: Unused "type: ignore" comment [unused-ignore]
- beartype/bite/kind/inferthirdparty.py:134: error: Unused "type: ignore" comment [unused-ignore]
- beartype/bite/kind/inferthirdparty.py:138: error: Unused "type: ignore[misc, valid-type]" comment [unused-ignore]
- beartype/bite/kind/inferthirdparty.py:144: error: Unused "type: ignore" comment [unused-ignore]
- beartype/bite/collection/infercollectionitems.py:317: error: Unused "type: ignore" comment [unused-ignore]
- beartype/bite/collection/infercollectionitems.py:500: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/utilobjattr.py:127: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/module/utilmodtest.py:22: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/error/_pep/pep484585/errpep484585subclass.py:78: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/error/_nonpep/errnonpeptype.py:107: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_check/error/_nonpep/errnonpeptype.py:253: error: Unused "type: ignore" comment [unused-ignore]
- beartype/door/_cls/doorsuper.py:464: error: Unused "type: ignore" comment [unused-ignore]
- beartype/door/_cls/doorsuper.py:995: error: Unused "type: ignore" comment [unused-ignore]
- beartype/door/_cls/doorsuper.py:1013: error: Unused "type: ignore" comment [unused-ignore]
- beartype/door/_cls/doorsuper.py:1030: error: Unused "type: ignore" comment [unused-ignore]
- beartype/door/_cls/doorsuper.py:1053: error: Unused "type: ignore" comment [unused-ignore]
- beartype/bite/collection/infercollectionsabc.py:165: error: Unused "type: ignore" comment [unused-ignore]
- beartype/bite/collection/infercollectionsabc.py:822: error: Unused "type: ignore" comment [unused-ignore]
- beartype/bite/_infermain.py:268: error: Unused "type: ignore" comment [unused-ignore]
- beartype/vale/_is/_valeistype.py:122: error: Unused "type: ignore" comment [unused-ignore]
- beartype/vale/_is/_valeistype.py:325: error: Unused "type: ignore" comment [unused-ignore]
- beartype/vale/_is/_valeisoper.py:184: error: Unused "type: ignore" comment [unused-ignore]
- beartype/vale/_is/_valeisobj.py:138: error: Unused "type: ignore" comment [unused-ignore]
- beartype/vale/_is/_valeis.py:260: error: Unused "type: ignore" comment [unused-ignore]
- beartype/door/_cls/pep/pep484585/doorpep484585callable.py:196: error: Unused "type: ignore" comment [unused-ignore]
- beartype/door/_cls/pep/pep484/doorpep484typevar.py:59: error: Unused "type: ignore" comment [unused-ignore]
- beartype/door/_cls/pep/pep484/doorpep484newtype.py:64: error: Unused "type: ignore" comment [unused-ignore]
- beartype/door/_cls/pep/pep484/doorpep484newtype.py:71: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_package/_clawpkgmake.py:81: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/cache/utilcachemeta.py:56: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/ast/utilastget.py:44: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/ast/utilastget.py:247: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_ast/_clawastutil.py:95: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_ast/_pep/clawastpep695.py:307: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_ast/_kind/clawastimport.py:622: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_ast/_kind/clawastimport.py:631: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_ast/clawastmain.py:182: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_importlib/_clawimpload.py:29: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_importlib/_clawimpload.py:590: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_importlib/clawimpmain.py:90: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_package/clawpkgtrie.py:760: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_package/clawpkgmain.py:385: error: Unused "type: ignore" comment [unused-ignore]
pyinstrument (https://github.com/joerick/pyinstrument)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
- pyinstrument/vendor/appdirs.py:559: error: Module "ctypes" has no attribute "windll" [attr-defined]
- pyinstrument/magic/_utils.py:73: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/magic/_utils.py:74: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/frame.py:160: error: Missing return statement [return]
- pyinstrument/frame.py:165: error: Missing return statement [return]
- pyinstrument/frame.py:220: error: Name "attributes" already defined on line 67 [no-redef]
- pyinstrument/frame.py:274: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/frame.py:277: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/frame.py:346: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/frame.py:348: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- pyinstrument/frame.py:352: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- pyinstrument/frame.py:394: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- pyinstrument/vendor/decorator.py:55: error: All conditional function variants must have identical signatures [misc]
- pyinstrument/vendor/decorator.py:55: note: Original:
- pyinstrument/vendor/decorator.py:55: note: def getfullargspec(func: object) -> FullArgSpec
- pyinstrument/vendor/decorator.py:55: note: Redefinition:
- pyinstrument/vendor/decorator.py:55: note: def getfullargspec(f: Any) -> Any
- pyinstrument/vendor/decorator.py:66: error: Incompatible redefinition (redefinition with type "Callable[[Any], Any]", original type overloaded function) [misc]
- pyinstrument/vendor/decorator.py:279: error: Module "contextlib" has no attribute "GeneratorContextManager"; maybe "_GeneratorContextManager", "_GeneratorContextManagerBase", or "_AsyncGeneratorContextManager"? [attr-defined]
- pyinstrument/vendor/decorator.py:279: error: Name "_GeneratorContextManager" already defined (possibly by an import) [no-redef]
- pyinstrument/vendor/decorator.py:295: error: Cannot assign to a method [method-assign]
- pyinstrument/vendor/decorator.py:295: error: Incompatible types in assignment (expression has type "def __init__(self: Any, g: Any, *a: Any, **k: Any) -> Any", variable has type "Callable[[_GeneratorContextManagerBase[Generator[Any, None, None]], Callable[..., Generator[Any, None, None]], tuple[Any, ...], dict[str, Any]], None]") [assignment]
- pyinstrument/vendor/decorator.py:301: error: Cannot assign to a method [method-assign]
- pyinstrument/vendor/decorator.py:301: error: Incompatible types in assignment (expression has type "def __init__(self: Any, g: Any, *a: Any, **k: Any) -> Any", variable has type "Callable[[_GeneratorContextManagerBase[Generator[Any, None, None]], Callable[..., Generator[Any, None, None]], tuple[Any, ...], dict[str, Any]], None]") [assignment]
- pyinstrument/low_level/pyi_timing_thread_python.py:18: error: Need type annotation for "subscribers" (hint: "subscribers: list[<type>] = ...") [var-annotated]
- pyinstrument/processors.py:90: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/stack_sampler.py:102: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/stack_sampler.py:312: error: Incompatible types in string interpolation (expression has type "int | None", placeholder has type "int | float | SupportsInt") [str-format]
- pyinstrument/renderers/pstatsrenderer.py:50: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/renderers/pstatsrenderer.py:53: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/renderers/pstatsrenderer.py:54: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/renderers/pstatsrenderer.py:64: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/renderers/pstatsrenderer.py:66: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/renderers/pstatsrenderer.py:67: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/profiler.py:246: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/context_manager.py:40: error: Argument 1 to "Profiler" has incompatible type "**dict[str, Literal['enabled', 'disabled', 'strict'] | float | bool | None]"; expected "float" [arg-type]
- pyinstrument/context_manager.py:40: error: Argument 1 to "Profiler" has incompatible type "**dict[str, Literal['enabled', 'disabled', 'strict'] | float | bool | None]"; expected "Literal['enabled', 'disabled', 'strict']" [arg-type]
- pyinstrument/context_manager.py:40: error: Argument 1 to "Profiler" has incompatible type "**dict[str, Literal['enabled', 'disabled', 'strict'] | float | bool | None]"; expected "bool | None" [arg-type]
- pyinstrument/context_manager.py:63: error: Argument 1 to "ProfileContext" has incompatible type "**dict[str, object]"; expected "float" [arg-type]
- pyinstrument/context_manager.py:63: error: Argument 1 to "ProfileContext" has incompatible type "**dict[str, object]"; expected "Literal['enabled', 'disabled', 'strict']" [arg-type]
- pyinstrument/context_manager.py:63: error: Argument 1 to "ProfileContext" has incompatible type "**dict[str, object]"; expected "bool | None" [arg-type]
- pyinstrument/context_manager.py:63: error: Argument 1 to "ProfileContext" has incompatible type "**dict[str, object]"; expected "Renderer | None" [arg-type]
- pyinstrument/context_manager.py:63: error: Argument 1 to "ProfileContext" has incompatible type "**dict[str, object]"; expected "str | None" [arg-type]
- pyinstrument/context_manager.py:71: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/__main__.py:35: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- pyinstrument/__main__.py:284: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/__main__.py:289: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/__main__.py:612: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/magic/magic.py:11: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/magic/magic.py:54: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/magic/magic.py:289: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/middleware.py:37: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/middleware.py:53: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- pyinstrument/middleware.py:108: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/middleware.py:112: error: Unused "type: ignore" comment [unused-ignore]
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
janus (https://github.com/aio-libs/janus)
- janus/__init__.py:714: error: Value of type variable "_T" of "heappush" cannot be "T" [type-var]
- janus/__init__.py:717: error: Value of type variable "_T" of "heappop" cannot be "T" [type-var]
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
CPython (Argument Clinic) (https://github.com/python/cpython)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
CPython (cases_generator) (https://github.com/python/cpython)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
dacite (https://github.com/konradhalas/dacite)
- dacite/data.py:2: error: Unused "type: ignore" comment [unused-ignore]
- dacite/data.py:4: error: Unused "type: ignore" comment [unused-ignore]
- dacite/config.py:8: error: Unused "type: ignore" comment [unused-ignore]
- dacite/types.py:5: error: Unused "type: ignore" comment [unused-ignore]
- dacite/types.py:47: error: Unused "type: ignore" comment [unused-ignore]
- dacite/types.py:62: error: Unused "type: ignore" comment [unused-ignore]
- dacite/types.py:110: error: Unused "type: ignore" comment [unused-ignore]
- dacite/dataclasses.py:17: error: Unused "type: ignore" comment [unused-ignore]
- dacite/dataclasses.py:18: error: Unused "type: ignore" comment [unused-ignore]
- dacite/generics.py:10: error: Unused "type: ignore" comment [unused-ignore]
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
more-itertools (https://github.com/more-itertools/more-itertools)
- setup.cfg: note: unused section(s): [mypy-tests.*]
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
DateType (https://github.com/glyph/DateType)
- src/datetype/__init__.py:29: error: Unused "type: ignore" comment [unused-ignore]
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
sphinx (https://github.com/sphinx-doc/sphinx)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
- sphinx/highlighting.py:39: error: Unused "type: ignore" comment [unused-ignore]
- sphinx/highlighting.py:39:5: error: Cannot assign to a method [method-assign]
- sphinx/highlighting.py:39:5: note: Error code "method-assign" not covered by "type: ignore" comment
- sphinx/highlighting.py:39:35: error: Incompatible types in assignment (expression has type "classmethod[Any, [Any], Any]", variable has type "Callable[[Any], GenericAlias]") [assignment]
- sphinx/highlighting.py:39:35: note: Error code "assignment" not covered by "type: ignore" comment
- sphinx/util/typing.py:308: error: Unused "type: ignore" comment [unused-ignore]
- sphinx/testing/fixtures.py:44:2: error: Untyped decorator makes function "rootdir" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:71:2: error: Untyped decorator makes function "app_params" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:127:2: error: Untyped decorator makes function "test_params" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:150:2: error: Untyped decorator makes function "app" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:173:2: error: Untyped decorator makes function "status" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:179:2: error: Untyped decorator makes function "warning" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:185:2: error: Untyped decorator makes function "make_app" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:213:2: error: Untyped decorator makes function "shared_result" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:218:2: error: Untyped decorator makes function "_shared_result_cache" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:223:2: error: Untyped decorator makes function "if_graphviz_found" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:240:2: error: Untyped decorator makes function "sphinx_test_tempdir" untyped [untyped-decorator]
- sphinx/testing/fixtures.py:246:2: error: Untyped decorator makes function "rollback_sysmodules" untyped [untyped-decorator]
- pyproject.toml: note: unused section(s): module = ['pyximport', 'tests.test_config.test_config', 'tests.test_directives.test_directive_other', 'tests.test_domains.test_domain_c', 'tests.test_domains.test_domain_cpp', 'tests.test_domains.test_domain_js', 'tests.test_domains.test_domain_py', 'tests.test_domains.test_domain_py_fields', 'tests.test_domains.test_domain_py_pyfunction', 'tests.test_domains.test_domain_py_pyobject', 'tests.test_domains.test_domain_std', 'tests.test_environment.test_environment_toctree', 'tests.test_ext_autodoc.test_ext_autodoc', 'tests.test_ext_autodoc.test_ext_autodoc_mock', 'tests.test_ext_autosummary.test_ext_autosummary', 'tests.test_ext_intersphinx.test_ext_intersphinx', 'tests.test_ext_napoleon.test_ext_napoleon_docstring', 'tests.test_extensions.test_ext_apidoc', 'tests.test_extensions.test_ext_inheritance_diagram', 'tests.test_search', 'tests.test_util.test_util_inspect', 'tests.test_util.test_util_nodes', 'tests.test_util.test_util_typing', 'tests.test_util.typing_test_data']
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
imagehash (https://github.com/JohannesBuchner/imagehash)
- imagehash/__init__.py:43: error: Module has no attribute "ANTIALIAS" [attr-defined]
- imagehash/__init__.py:112: error: Incompatible return value type (got "signedinteger[_32Bit | _64Bit]", expected "int") [return-value]
- imagehash/__init__.py:139: error: Unused "type: ignore" comment [unused-ignore]
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
poetry (https://github.com/python-poetry/poetry)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
- tests/console/commands/env/helpers.py:35: error: Returning Any from function declared to return "str" [no-any-return]
- src/poetry/locations.py:25: error: Returning Any from function declared to return "Path" [no-any-return]
- src/poetry/toml/exceptions.py:7: error: Class cannot subclass "TOMLKitError" (has type "Any") [misc]
- src/poetry/toml/exceptions.py:7: error: Class cannot subclass "PoetryCoreError" (has type "Any") [misc]
- src/poetry/console/command_loader.py:15: error: Class cannot subclass "FactoryCommandLoader" (has type "Any") [misc]
- src/poetry/toml/file.py:14: error: Class cannot subclass "BaseTOMLFile" (has type "Any") [misc]
- src/poetry/mixology/term.py:161: error: Returning Any from function declared to return "bool" [no-any-return]
- src/poetry/pyproject/toml.py:17: error: Class cannot subclass "BasePyProjectTOML" (has type "Any") [misc]
- src/poetry/console/exceptions.py:19: error: Class cannot subclass "CleoError" (has type "Any") [misc]
- src/poetry/console/exceptions.py:46: error: Returning Any from function declared to return "str" [no-any-return]
- src/poetry/installation/wheel_installer.py:33: error: Class cannot subclass "SchemeDictionaryDestination" (has type "Any") [misc]
- src/poetry/packages/locker.py:131: error: Returning Any from function declared to return "bool" [no-any-return]
- src/poetry/utils/password_manager.py:105: error: Returning Any from function declared to return "str | None" [no-any-return]
- src/poetry/utils/env/python/manager.py:120: error: Item "str" of "Any | str" has no attribute "allows" [union-attr]
- src/poetry/utils/env/python/manager.py:156: error: Item "str" of "Any | str" has no attribute "allows" [union-attr]
- src/poetry/mixology/version_solver.py:591: error: Returning Any from function declared to return "str | None" [no-any-return]
- src/poetry/mixology/version_solver.py:622: error: Returning Any from function declared to return "str | None" [no-any-return]
- src/poetry/vcs/git/backend.py:234: error: Returning Any from function declared to return "str" [no-any-return]
- src/poetry/utils/env/base_env.py:169: error: Returning Any from function declared to return "Path" [no-any-return]
- src/poetry/poetry.py:29: error: Class cannot subclass "BasePoetry" (has type "Any") [misc]
- src/poetry/utils/isolated_build.py:99: error: Class cannot subclass "BaseIsolatedEnv" (has type "Any") [misc]
- src/poetry/inspection/info.py:252: error: Returning Any from function declared to return "list[str] | None" [no-any-return]
- src/poetry/puzzle/provider.py:87: error: Class cannot subclass "ProgressIndicator" (has type "Any") [misc]
- src/poetry/factory.py:48: error: Class cannot subclass "BaseFactory" (has type "Any") [misc]
- src/poetry/factory.py:386: error: Returning Any from function declared to return "dict[str, list[str]]" [no-any-return]
- src/poetry/console/commands/command.py:16: error: Class cannot subclass "BaseCommand" (has type "Any") [misc]
- src/poetry/console/application.py:124: error: Class cannot subclass "BaseApplication" (has type "Any") [misc]
- src/poetry/console/commands/installer_command.py:39: error: Returning Any from function declared to return "int" [no-any-return]
- src/poetry/console/commands/self/self_command.py:90: error: Unused "type: ignore" comment [unused-ignore]
- src/poetry/console/commands/self/self_command.py:93: error: Unused "type: ignore" comment [unused-ignore]
- tests/repositories/test_http_repository.py:55: error: Unused "type: ignore" comment [unused-ignore]
- tests/console/commands/self/test_self_command.py:23: error: Returning Any from function declared to return "str" [no-any-return]
- tests/config/test_source.py:36: error: Unused "type: ignore" comment [unused-ignore]
- tests/config/test_file_config_source.py:107: error: Unused "type: ignore" comment [unused-ignore]
- tests/config/test_file_config_source.py:144: error: Unused "type: ignore" comment [unused-ignore]
- src/poetry/masonry/builders/editable.py:44: error: Class cannot subclass "Builder" (has type "Any") [misc]
- src/poetry/masonry/builders/editable.py:64: error: Returning Any from function declared to return "Path" [no-any-return]
- src/poetry/masonry/builders/editable.py:81: error: Returning Any from function declared to return "Path" [no-any-return]
- tests/utils/env/python/test_python_installer.py:27: error: Returning Any from function declared to return "MagicMock" [no-any-return]
- tests/console/commands/self/test_remove_plugins.py:37: error: Unused "type: ignore" comment [unused-ignore]
- tests/console/commands/self/test_remove_plugins.py:40: error: Unused "type: ignore[index, union-attr, call-arg]" comment [unused-ignore]
- tests/console/commands/python/test_python_install.py:26: error: Returning Any from function declared to return "MagicMock" [no-any-return]
- tests/masonry/builders/test_editable_builder.py:109: error: Returning Any from function declared to return "str" [no-any-return]
- src/poetry/console/commands/publish.py:93: error: Returning Any from function declared to return "int" [no-any-return]
- tests/test_helpers.py:454: error: Class cannot subclass "KeyringBackend" (has type "Any") [misc]
- tests/test_helpers.py:458: error: Untyped decorator makes function "priority" untyped [untyped-decorator]
- tests/packages/test_locker.py:708: error: Unused "type: ignore" comment [unused-ignore]
- tests/console/commands/test_remove.py:104: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:124: error: "dict[str, Any]" has no attribute "as_string" [attr-defined]
- tests/console/commands/test_remove.py:181: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:202: error: "dict[str, Any]" has no attribute "as_string" [attr-defined]
- tests/console/commands/test_remove.py:251: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:268: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:290: error: "dict[str, Any]" has no attribute "as_string" [attr-defined]
- tests/console/commands/test_remove.py:336: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:353: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:375: error: "dict[str, Any]" has no attribute "as_string" [attr-defined]
- tests/console/commands/test_remove.py:421: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:437: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:491: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:509: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:532: error: "dict[str, Any]" has no attribute "as_string" [attr-defined]
- tests/console/commands/test_remove.py:724: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:740: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:771: error: "dict[str, Any]" has no attribute "as_string" [attr-defined]
- tests/console/commands/test_remove.py:848: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_remove.py:876: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_add.py:626: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_add.py:676: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_add.py:723: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/console/commands/test_add.py:783: error: Redundant cast to "dict[str, Any]" [redundant-cast]
- tests/conftest.py:142: error: Class cannot subclass "KeyringBackend" (has type "Any") [misc]
- tests/conftest.py:147: error: Untyped decorator makes function "priority" untyped [untyped-decorator]
- tests/conftest.py:182: error: Class cannot subclass "KeyringBackend" (has type "Any") [misc]
- tests/conftest.py:183: error: Untyped decorator makes function "priority" untyped [untyped-decorator]
- tests/conftest.py:204: error: Class cannot subclass "FailKeyring" (has type "Any") [misc]
- tests/conftest.py:205: error: Untyped decorator makes function "priority" untyped [untyped-decorator]
- tests/conftest.py:234: error: Unused "type: ignore" comment [unused-ignore]
- tests/conftest.py:239: error: Unused "type: ignore" comment [unused-ignore]
- tests/conftest.py:244: error: Unused "type: ignore" comment [unused-ignore]
- tests/conftest.py:251: error: Unused "type: ignore" comment [unused-ignore]
- tests/conftest.py:258: error: Unused "type: ignore" comment [unused-ignore]
- tests/conftest.py:262: error: Unused "type: ignore" comment [unused-ignore]
- tests/conftest.py:271: error: Unused "type: ignore" comment [unused-ignore]
- tests/conftest.py:275: error: Unused "type: ignore" comment [unused-ignore]
- tests/conftest.py:319: error: Unused "type: ignore" comment [unused-ignore]
- tests/conftest.py:852: error: Returning Any from function declared to return "MagicMock" [no-any-return]
- tests/conftest.py:873: error: Returning Any from function declared to return "MagicMock" [no-any-return]
- tests/conftest.py:982: error: Returning Any from function declared to return "MagicMock" [no-any-return]
- tests/utils/env/test_env_manager.py:65: error: Returning Any from function declared to return "str" [no-any-return]
- tests/installation/test_chef.py:152: error: Unused "type: ignore" comment [unused-ignore]
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6082, in accept
+ File "mypy/nodes.py", line 2283, in accept
+ File "mypy/checkexpr.py", line 3468, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6127, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7580, in named_type
+ File "mypy/checker.py", line 7584, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7689, in lookup_qualified
+ raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
zulip (https://github.com/zulip/zulip)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.20.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
- tools/documentation_crawler/documentation_crawler/commands/crawl_with_status.py:21: error: Unused "type: ignore" comment [unused-ignore]
- zerver/lib/queue.py:84: error: Name "pika.ConnectionParameters._DEFAULT" is not defined [name-defined]
- zerver/lib/queue.py:85: error: "type[ConnectionParameters]" has no attribute "_DEFAULT" [attr-defined]
- zerver/lib/queue.py:96: error: Argument "ssl_options" to "ConnectionParameters" has incompatible type "type[Any] | SSLOptions"; expected "SSLOptions | None" [arg-type]
- zilencer/migrations/0026_auditlog_models_extra_data_json.py:17: error: Module has no attribute "serializers" [attr-defined]
- zilencer/migrations/0026_auditlog_models_extra_data_json.py:24: error: Module has no attribute "serializers" [attr-defined]
- zerver/migrations/0544_copy_avatar_images.py:135: error: Unused "type: ignore" comment [unused-ignore]
- zerver/migrations/0452_realmauditlog_extra_data_json.py:17: error: Module has no attribute "serializers" [attr-defined]
- zerver/lib/response.py:43: error: Unused "type: ignore" comment [unused-ignore]
- zerver/tornado/handlers.py:93: error: Unused "type: ignore" comment [unused-ignore]
- zerver/lib/logging_util.py:257: error: "AbstractBaseUser" has no attribute "delivery_email" [attr-defined]
- zerver/lib/logging_util.py:257: error: "AbstractBaseUser" has no attribute "realm" [attr-defined]
- zerver/lib/cache.py:681: error: "MutedUser" has no attribute "muted_user_id"; maybe "muted_user"? [attr-defined]
- zerver/lib/cache.py:750: error: "Stream" has no attribute "realm_id"; maybe "realm"? [attr-defined]
- zerver/lib/cache.py:794: error: "SubMessage" has no attribute "message_id"; maybe "message"? [attr-defined]
- zerver/models/users.py:62: error: Need type annotation for "enter_sends" [var-annotated]
- zerver/models/users.py:68: error: Need type annotation for "left_side_userlist" [var-annotated]
- zerver/models/users.py:69: error: Need type annotation for "default_language" [var-annotated]
- zerver/models/users.py:72: error: Need type annotation for "web_home_view" [var-annotated]
- zerver/models/users.py:73: error: Need type annotation for "web_escape_navigates_to_home_view" [var-annotated]
- zerver/models/users.py:74: error: Need type annotation for "fluid_layout_width" [var-annotated]
- zerver/models/users.py:75: error: Need type annotation for "high_contrast_mode" [var-annotated]
- zerver/models/users.py:76: error: Need type annotation for "translate_emoticons" [var-annotated]
- zerver/models/users.py:77: error: Need type annotation for "display_emoji_reaction_users" [var-annotated]
- zerver/models/users.py:78: error: Need type annotation for "twenty_four_hour_time" [var-annotated]
- zerver/models/users.py:79: error: Need type annotation for "starred_message_counts" [var-annotated]
- zerver/models/users.py:80: error: Need type annotation for "web_suggest_update_timezone" [var-annotated]
- zerver/models/users.py:85: error: Need type annotation for "color_scheme" [var-annotated]
- zerver/models/users.py:93: error: Need type annotation for "web_font_size_px" [var-annotated]
- zerver/models/users.py:94: error: Need type annotation for "web_line_height_percent" [var-annotated]
- zerver/models/users.py:99: error: Need type annotation for "web_animate_image_previews" [var-annotated]
- zerver/models/users.py:113: error: Need type annotation for "demote_inactive_streams" [var-annotated]
- zerver/models/users.py:117: error: Need type annotation for "web_left_sidebar_show_channel_folders" [var-annotated]
- zerver/models/users.py:132: error: Need type annotation for "web_mark_read_on_scroll_policy" [var-annotated]
- zerver/models/users.py:150: error: Need type annotation for "web_channel_default_view" [var-annotated]
- zerver/models/users.py:164: error: Need type annotation for "emojiset" [var-annotated]
- zerver/models/users.py:175: error: Need type annotation for "user_list_style" [var-annotated]
- zerver/models/users.py:186: error: Need type annotation for "web_stream_unreads_count_display_policy" [var-annotated]
- zerver/models/users.py:190: error: Need type annotation for "web_left_sidebar_unreads_count_summary" [var-annotated]
- zerver/models/users.py:194: error: Need type annotation for "web_navigate_to_sent_message" [var-annotated]
- zerver/models/users.py:198: error: Need type annotation for "email_notifications_batching_period_seconds" [var-annotated]
- zerver/models/users.py:201: error: Need type annotation for "enable_stream_desktop_notifications" [var-annotated]
- zerver/models/users.py:202: error: Need type annotation for "enable_stream_email_notifications" [var-annotated]
- zerver/models/users.py:203: error: Need type annotation for "enable_stream_push_notifications" [var-annotated]
- zerver/models/users.py:204: error: Need type annotatio
... (truncated 33202 lines) ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This type never existed at runtime, and was replaced by
types.EllipsisType.Part of #7580.