Remove builtins.ellipsis pseudo-type - #15712
Draft
srittau wants to merge 2 commits into
Draft
Conversation
This type never existed at runtime, and was replaced by `types.EllipsisType`.
This was referenced May 7, 2026
This comment has been minimized.
This comment has been minimized.
hamdanal
added a commit
to hamdanal/typeshed
that referenced
this pull request
Aug 16, 2026
AlexWaygood
pushed a commit
that referenced
this pull request
Aug 16, 2026
Contributor
|
Diff from mypy_primer, showing the effect of this PR on open source code: python-chess (https://github.com/niklasf/python-chess)
+ ...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: 2.3.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 6222, in accept
+ File "mypy/nodes.py", line 2359, in accept
+ File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6267, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7870, in named_type
+ File "mypy/checker.py", line 7874, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7979, 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)"
+
kornia (https://github.com/kornia/kornia)
+ ...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: 2.3.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
- kornia/feature/dedode/utils.py:42: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/dedode/detector.py:31: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/dedode/descriptor.py:31: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/dedode/decoder.py:33: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/dedode/decoder.py:79: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/dedode/decoder.py:114: error: Unused "type: ignore" comment [unused-ignore]
- kornia/enhance/histogram.py:236: error: Item "None" of "Any | None" has no attribute "device" [union-attr]
- kornia/enhance/histogram.py:236: error: Item "None" of "Any | None" has no attribute "dtype" [union-attr]
- kornia/enhance/histogram.py:239: error: Item "None" of "Any | None" has no attribute "unsqueeze" [union-attr]
- kornia/enhance/histogram.py:260: error: Item "None" of "Any | None" has no attribute "dim" [union-attr]
- kornia/enhance/histogram.py:263: error: Item "None" of "Any | None" has no attribute "dim" [union-attr]
- kornia/enhance/histogram.py:268: error: Item "None" of "Any | None" has no attribute "dim" [union-attr]
- kornia/enhance/histogram.py:270: error: Item "None" of "Any | None" has no attribute "dim" [union-attr]
- kornia/feature/sold2/backbones.py:214: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/sold2/backbones.py:216: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/sold2/backbones.py:221: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/sold2/backbones.py:222: error: Unused "type: ignore" comment [unused-ignore]
- kornia/core/_compat.py:220: error: Incompatible types in assignment (expression has type "Any | None", variable has type "str") [assignment]
- kornia/models/kimi_vl/model.py:96: error: Item "None" of "MoonViTConfig | None" has no attribute "patch_size" [union-attr]
- kornia/models/kimi_vl/model.py:99: error: Argument 1 to "MoonViT" has incompatible type "MoonViTConfig | None"; expected "MoonViTConfig" [arg-type]
- kornia/models/kimi_vl/model.py:102: error: Argument 1 to "KimiVLProjector" has incompatible type "KimiVLProjectorConfig | None"; expected "KimiVLProjectorConfig" [arg-type]
- kornia/image/draw.py:377: error: Invalid type 'Any' for *expr (iterable expected) [misc]
- kornia/image/draw.py:377: error: Need more than 1 value to unpack (5 expected) [misc]
- kornia/image/draw.py:380: error: Invalid type 'Any' for *expr (iterable expected) [misc]
- kornia/image/draw.py:380: error: Need more than 2 values to unpack (5 expected) [misc]
- kornia/image/draw.py:382: error: Cannot determine type of "b_i" [has-type]
- kornia/image/draw.py:382: error: Cannot determine type of "c_i" [has-type]
- kornia/image/draw.py:383: error: Invalid type 'Any' for *expr (iterable expected) [misc]
- kornia/image/draw.py:383: error: Need more than 1 value to unpack (3 expected) [misc]
- kornia/image/draw.py:384: error: Cannot determine type of "xy" [has-type]
- kornia/image/draw.py:385: error: Cannot determine type of "b_i" [has-type]
- kornia/image/draw.py:385: error: Cannot determine type of "b_p" [has-type]
- kornia/image/draw.py:385: error: Cannot determine type of "b_c" [has-type]
- kornia/image/draw.py:386: error: Cannot determine type of "device" [has-type]
- kornia/image/draw.py:386: error: Cannot determine type of "device_p" [has-type]
- kornia/image/draw.py:386: error: Cannot determine type of "device_c" [has-type]
- kornia/image/draw.py:388: error: Cannot determine type of "h_i" [has-type]
- kornia/image/draw.py:388: error: Cannot determine type of "w_i" [has-type]
- kornia/image/draw.py:389: error: Cannot determine type of "w_i" [has-type]
- kornia/image/draw.py:389: error: Cannot determine type of "device" [has-type]
- kornia/image/draw.py:389: error: Cannot determine type of "dtype_p" [has-type]
- kornia/feature/lightglue_onnx/lightglue.py:32: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue_onnx/lightglue.py:68: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue_onnx/lightglue.py:71: error: Item "str" of "str | Any" has no attribute "type" [union-attr]
- kornia/feature/lightglue_onnx/lightglue.py:73: error: Item "str" of "str | Any" has no attribute "type" [union-attr]
- kornia/feature/lightglue_onnx/lightglue.py:79: error: Item "str" of "str | Any" has no attribute "type" [union-attr]
- kornia/feature/lightglue_onnx/lightglue.py:83: error: Item "str" of "str | Any" has no attribute "type" [union-attr]
- kornia/feature/lightglue_onnx/lightglue.py:86: error: Item "str" of "str | Any" has no attribute "type" [union-attr]
- kornia/feature/lightglue_onnx/lightglue.py:145: error: Item "str" of "str | Any" has no attribute "type" [union-attr]
- kornia/feature/lightglue_onnx/lightglue.py:157: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue_onnx/lightglue.py:158: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue_onnx/lightglue.py:160: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue_onnx/lightglue.py:161: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue_onnx/lightglue.py:163: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue_onnx/lightglue.py:164: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue_onnx/lightglue.py:174: error: Item "str" of "str | Any" has no attribute "type" [union-attr]
- kornia/feature/lightglue_onnx/lightglue.py:182: error: Item "str" of "str | Any" has no attribute "type" [union-attr]
- kornia/core/tensor_wrapper.py:232: error: Return type "TensorWrapper" of "__eq__" incompatible with return type "bool" in supertype "builtins.object" [override]
- kornia/core/tensor_wrapper.py:236: error: Return type "TensorWrapper" of "__ne__" incompatible with return type "bool" in supertype "builtins.object" [override]
- kornia/feature/dedode/transformer/layers/attention.py:106: error: Unused "type: ignore" comment [unused-ignore]
- kornia/core/utils.py:391: error: Argument 1 to "fields" has incompatible type "type[T]"; expected "DataclassInstance | type[DataclassInstance]" [arg-type]
- kornia/models/siglip2/builder.py:67: error: Item "None" of "SigLip2TextConfig | None" has no attribute "max_position_embeddings" [union-attr]
- kornia/models/siglip2/builder.py:68: error: Item "None" of "SigLip2TextConfig | None" has no attribute "max_position_embeddings" [union-attr]
- kornia/feature/dedode/transformer/dinov2.py:388: error: Incompatible return value type (got "tuple[tuple[Any, Any], ...]", expected "tuple[Any | tuple[Any]]") [return-value]
- kornia/geometry/vector.py:24: error: Unused "type: ignore" comment [unused-ignore]
- kornia/geometry/plane.py:120: error: Incompatible return value type (got "TensorWrapper", expected "Scalar") [return-value]
- kornia/geometry/plane.py:139: error: Incompatible types in assignment (expression has type "TensorWrapper", variable has type "Scalar") [assignment]
- kornia/geometry/liegroup/so3.py:177: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/dedode/encoder.py:38: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/dedode/encoder.py:43: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/dedode/encoder.py:99: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/dedode/encoder.py:125: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/dedode/dedode.py:33: error: Dict entry 0 has incompatible type "str": "list[str]"; expected "str": "str" [dict-item]
- kornia/feature/dedode/dedode.py:37: error: Dict entry 1 has incompatible type "str": "list[str]"; expected "str": "str" [dict-item]
- kornia/feature/dedode/dedode.py:41: error: Dict entry 2 has incompatible type "str": "list[str]"; expected "str": "str" [dict-item]
- kornia/feature/dedode/dedode.py:45: error: Dict entry 3 has incompatible type "str": "list[str]"; expected "str": "str" [dict-item]
- kornia/feature/dedode/dedode.py:51: error: Dict entry 0 has incompatible type "str": "list[str]"; expected "str": "str" [dict-item]
- kornia/feature/dedode/dedode.py:55: error: Dict entry 1 has incompatible type "str": "list[str]"; expected "str": "str" [dict-item]
- kornia/feature/dedode/dedode.py:59: error: Dict entry 2 has incompatible type "str": "list[str]"; expected "str": "str" [dict-item]
- kornia/feature/dedode/dedode.py:63: error: Dict entry 3 has incompatible type "str": "list[str]"; expected "str": "str" [dict-item]
- kornia/feature/dedode/dedode.py:67: error: Dict entry 4 has incompatible type "str": "list[str]"; expected "str": "str" [dict-item]
- kornia/feature/dedode/dedode.py:71: error: Dict entry 5 has incompatible type "str": "list[str]"; expected "str": "str" [dict-item]
- kornia/core/mixin/image_module.py:200: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/aliked/aliked.py:316: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/aliked/aliked.py:320: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/aliked/aliked.py:346: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/aliked/aliked.py:968: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/aliked/aliked.py:970: error: Unused "type: ignore" comment [unused-ignore]
- kornia/enhance/adjust.py:761: error: Item "bool" of "bool | Any" has no attribute "all" [union-attr]
- kornia/enhance/adjust.py:772: error: Item "float" of "float | Any" has no attribute "view" [union-attr]
- kornia/io/io.py:90: error: Argument 1 to "get" of "dict" has incompatible type "int | None"; expected "int" [arg-type]
- kornia/core/mixin/onnx.py:133: error: Unused "type: ignore" comment [unused-ignore]
- kornia/core/mixin/onnx.py:134: error: Unused "type: ignore" comment [unused-ignore]
- kornia/core/mixin/onnx.py:135: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:43: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:177: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:186: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:281: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:341: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:581: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:593: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:687: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:693: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:716: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:730: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:731: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:828: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/lightglue.py:836: error: Unused "type: ignore" comment [unused-ignore]
- kornia/contrib/super_resolution.py:99: error: Signature of "save" incompatible with supertype "kornia.models.base.ModelBaseMixin" [override]
- kornia/contrib/super_resolution.py:99: note: Superclass:
- kornia/contrib/super_resolution.py:99: note: def save(self, output: Any | list[Any], directory: str, is_batch: bool = ...) -> None
- kornia/contrib/super_resolution.py:99: note: Subclass:
- kornia/contrib/super_resolution.py:99: note: def save(self, images: Any | list[Any], edge_maps: Any | list[Any] | None = ..., directory: str | None = ..., output_type: str = ...) -> None
- kornia/contrib/object_detection.py:207: error: Signature of "save" incompatible with supertype "kornia.models.base.ModelBaseMixin" [override]
- kornia/contrib/object_detection.py:207: note: Superclass:
- kornia/contrib/object_detection.py:207: note: def save(self, output: Any | list[Any], directory: str, is_batch: bool = ...) -> None
- kornia/contrib/object_detection.py:207: note: Subclass:
- kornia/contrib/object_detection.py:207: note: def save(self, images: Any | list[Any], detections: Any | None = ..., directory: str | None = ...) -> None
- kornia/contrib/object_detection.py:270: error: Return type "None" of "compile" incompatible with return type "ModelBase[Any]" in supertype "kornia.models.base.ModelBase" [override]
- kornia/contrib/object_detection.py:281: error: Unused "type: ignore" comment [unused-ignore]
- kornia/contrib/edge_detection.py:143: error: Signature of "save" incompatible with supertype "kornia.models.base.ModelBaseMixin" [override]
- kornia/contrib/edge_detection.py:143: note: Superclass:
- kornia/contrib/edge_detection.py:143: note: def save(self, output: Any | list[Any], directory: str, is_batch: bool = ...) -> None
- kornia/contrib/edge_detection.py:143: note: Subclass:
- kornia/contrib/edge_detection.py:143: note: def save(self, images: Any | list[Any], edge_maps: Any | list[Any] | None = ..., directory: str | None = ..., output_type: str = ...) -> None
- kornia/feature/loftr/loftr.py:218: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/scale_space_detector.py:570: error: Argument 1 to "sum" has incompatible type "list[float]"; expected "Iterable[bool | Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25] | Literal[-1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20] | Literal[0]]" [arg-type]
- kornia/augmentation/random_generator/base.py:142: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/random_generator/base.py:156: error: Unused "type: ignore" comment [unused-ignore]
- kornia/feature/integrated.py:514: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/ops.py:199: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/base.py:464: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/_2d/mix/transplantation.py:182: error: Item "Sequence[int]" of "Sequence[int] | Any" has no attribute "ndim" [union-attr]
- kornia/augmentation/_2d/mix/transplantation.py:183: error: Item "Sequence[int]" of "Sequence[int] | Any" has no attribute "ndim" [union-attr]
- kornia/augmentation/_2d/mix/transplantation.py:196: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/_2d/mix/transplantation.py:202: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/_2d/mix/transplantation.py:299: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/_2d/mix/patchmix.py:70: error: "None" not callable [misc]
- kornia/augmentation/container/video.py:337: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/video.py:357: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/video.py:377: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/video.py:400: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/auto/base.py:44: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/augment.py:303: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/augment.py:324: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/augment.py:326: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/augment.py:431: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/augment.py:454: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/augment.py:456: error: Unused "type: ignore" comment [unused-ignore]
- kornia/augmentation/container/augment.py:476: error: Unused "type: ignore" comment [unused-ignore]
- kornia/models/rt_detr/model.py:271: error: Unused "type: ignore" comment [unused-ignore]
- kornia/models/rt_detr/model.py:298: error: Signature of "to_onnx" incompatible with supertype "kornia.core.mixin.onnx.ONNXExportMixin" [override]
- kornia/models/rt_detr/model.py:298: note: Superclass:
- kornia/models/rt_detr/model.py:298: note: def to_onnx(self, onnx_name: str | None = ..., input_shape: list[int] | None = ..., output_shape: list[int] | None = ..., pseudo_shape: list[int] | None = ..., model: Any | None = ..., save: bool = ..., additional_metadata: list[tuple[str, str]] | None = ..., **kwargs: Any) -> Any
- kornia/models/rt_detr/model.py:298: note: Subclass:
- kornia/models/rt_detr/model.py:298: note: def to_onnx(self, onnx_name: str | None = ..., pseudo_shape: list[int] | None = ..., save: bool = ..., **kwargs: Any) -> Any
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6222, in accept
+ File "mypy/nodes.py", line 2359, in accept
+ File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6267, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7870, in named_type
+ File "mypy/checker.py", line 7874, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7979, 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)"
+
- kornia/models/segmentation/base.py:188: error: Signature of "save" incompatible with supertype "kornia.models.base.ModelBaseMixin" [override]
- kornia/models/segmentation/base.py:188: note: Superclass:
- kornia/models/segmentation/base.py:188: note: def save(self, output: Any | list[Any], directory: str, is_batch: bool = ...) -> None
- kornia/models/segmentation/base.py:188: note: Subclass:
- kornia/models/segmentation/base.py:188: note: def save(self, images: Any | list[Any], semantic_masks: Any | list[Any] | None = ..., directory: str | None = ..., output_type: str = ..., colormap: str = ..., manual_seed: int = ...) -> None
- kornia/augmentation/presets/ada.py:300: error: Unused "type: ignore" comment [unused-ignore]
- kornia/models/sam/model.py:228: error: Incompatible types in assignment (expression has type "Sequence[str]", variable has type "str | None") [assignment]
- kornia/models/sam/model.py:245: error: Signature of "to_onnx" incompatible with supertype "kornia.core.mixin.onnx.ONNXExportMixin" [override]
- kornia/models/sam/model.py:245: note: Superclass:
- kornia/models/sam/model.py:245: note: def to_onnx(self, onnx_name: str | None = ..., input_shape: list[int] | None = ..., output_shape: list[int] | None = ..., pseudo_shape: list[int] | None = ..., model: Any | None = ..., save: bool = ..., additional_metadata: list[tuple[str, str]] | None = ..., **kwargs: Any) -> Any
- kornia/models/sam/model.py:245: note: Subclass:
- kornia/models/sam/model.py:245: note: def to_onnx(self, onnx_name: str | None = ..., pseudo_shape: list[int] | None = ..., save: bool = ..., **kwargs: Any) -> Any
- kornia/contrib/visual_prompter.py:386: error: Unused "type: ignore" comment [unused-ignore]
- kornia/contrib/visual_prompter.py:417: error: Unused "type: ignore" comment [unused-ignore]
- kornia/contrib/visual_prompter.py:426: error: Unused "type: ignore" comment [unused-ignore]
- kornia/models/depth_estimation/base.py:36: error: Unused "type: ignore" comment [unused-ignore]
- kornia/models/depth_estimation/base.py:101: error: Signature of "save" incompatible with supertype "kornia.models.base.ModelBaseMixin" [override]
- kornia/models/depth_estimation/base.py:101: note: Superclass:
- kornia/models/depth_estimation/base.py:101: note: def save(self, output: Any | list[Any], directory: str, is_batch: bool = ...) -> None
- kornia/models/depth_estimation/base.py:101: note: Subclass:
- kornia/models/depth_estimation/base.py:101: note: def save(self, images: Any, depth_maps: Any | list[Any] | None = ..., directory: str | None = ..., output_type: str = ..., depth_type: str = ..., max_depth: int = ...) -> None
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: 2.3.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
- 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:116: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/stack_sampler.py:327: 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/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:36: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- pyinstrument/__main__.py:285: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/__main__.py:290: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/magic/magic.py:12: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/magic/magic.py:55: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/magic/magic.py:290: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/magic/magic.py:306: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/middleware.py:37: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/middleware.py:52: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- pyinstrument/middleware.py:107: error: Unused "type: ignore" comment [unused-ignore]
- pyinstrument/middleware.py:111: error: Unused "type: ignore" comment [unused-ignore]
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6222, in accept
+ File "mypy/nodes.py", line 2359, in accept
+ File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6267, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7870, in named_type
+ File "mypy/checker.py", line 7874, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7979, 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)"
+
parso (https://github.com/davidhalter/parso)
+ ...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: 2.3.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 6222, in accept
+ File "mypy/nodes.py", line 2359, in accept
+ File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6267, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7870, in named_type
+ File "mypy/checker.py", line 7874, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7979, 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)"
+
- parso/utils.py:183: error: Incompatible default for parameter "version" (default has type "None", parameter has type "str") [assignment]
- parso/utils.py:183: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- parso/utils.py:183: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- parso/python/tokenize.py:252: error: Unused "type: ignore" comment [unused-ignore]
- parso/python/tokenize.py:260: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- parso/python/tokenize.py:367: error: Incompatible default for parameter "indents" (default has type "None", parameter has type "list[int]") [assignment]
- parso/python/tokenize.py:367: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- parso/python/tokenize.py:367: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- parso/python/tokenize.py:447: error: Unused "type: ignore" comment [unused-ignore]
- parso/python/tokenize.py:499: error: Unused "type: ignore" comment [unused-ignore]
- parso/python/tokenize.py:500: error: Unused "type: ignore" comment [unused-ignore]
- parso/python/tokenize.py:515: error: Unused "type: ignore" comment [unused-ignore]
- parso/python/tokenize.py:516: error: Unused "type: ignore" comment [unused-ignore]
- parso/python/tokenize.py:520: error: Unused "type: ignore" comment [unused-ignore]
- parso/python/tokenize.py:589: error: Unused "type: ignore" comment [unused-ignore]
- parso/python/prefix.py:17: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- parso/python/tree.py:223: error: Unused "type: ignore" comment [unused-ignore]
- parso/python/tree.py:236: error: Unused "type: ignore" comment [unused-ignore]
- parso/python/tree.py:373: error: Unused "type: ignore" comment [unused-ignore]
- parso/grammar.py:50: error: Incompatible default for parameter "code" (default has type "None", parameter has type "str | bytes") [assignment]
- parso/grammar.py:50: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- parso/grammar.py:50: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- parso/grammar.py:53: error: Incompatible default for parameter "path" (default has type "None", parameter has type "PathLike[Any] | str") [assignment]
- parso/grammar.py:53: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- parso/grammar.py:53: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- parso/grammar.py:54: error: Incompatible default for parameter "start_symbol" (default has type "None", parameter has type "str") [assignment]
- parso/grammar.py:54: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- parso/grammar.py:54: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- parso/grammar.py:57: error: Incompatible default for parameter "cache_path" (default has type "None", parameter has type "PathLike[Any] | str") [assignment]
- parso/grammar.py:57: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- parso/grammar.py:57: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- parso/grammar.py:58: error: Incompatible default for parameter "file_io" (default has type "None", parameter has type "FileIO") [assignment]
- parso/grammar.py:58: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- parso/grammar.py:58: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- parso/grammar.py:109: error: Unused "type: ignore" comment [unused-ignore]
- parso/grammar.py:116: error: Unused "type: ignore" comment [unused-ignore]
- parso/grammar.py:135: error: Unused "type: ignore" comment [unused-ignore]
- parso/grammar.py:147: error: Unused "type: ignore" comment [unused-ignore]
- parso/grammar.py:163: error: Unused "type: ignore" comment [unused-ignore]
- parso/grammar.py:234: error: Incompatible default for parameter "version" (default has type "None", parameter has type "str") [assignment]
- parso/grammar.py:234: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- parso/grammar.py:234: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- parso/grammar.py:234: error: Incompatible default for parameter "path" (default has type "None", parameter has type "str") [assignment]
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: 2.3.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 6222, in accept
+ File "mypy/nodes.py", line 2359, in accept
+ File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6267, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7870, in named_type
+ File "mypy/checker.py", line 7874, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7979, 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)"
+
paroxython (https://github.com/laowantong/paroxython)
+ ...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: 2.3.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 6222, in accept
+ File "mypy/nodes.py", line 2359, in accept
+ File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6267, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7870, in named_type
+ File "mypy/checker.py", line 7874, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7979, 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)"
+
- paroxython/flatten_ast.py:319: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/flatten_ast.py:401: error: "AST" has no attribute "lineno" [attr-defined]
- paroxython/goodies.py:10: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/preprocess_source.py:32: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/normalize_predicate.py:5: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/derived_labels_db.py:84: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/derived_labels_db.py:189: error: Invalid index type "str | Any" for "dict[LabelName, dict[Span, Any]]"; expected type "LabelName" [index]
- paroxython/list_programs.py:6: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/list_programs.py:51: error: Incompatible default for parameter "relative_path" (default has type "None", parameter has type "Path") [assignment]
- paroxython/list_programs.py:51: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- paroxython/list_programs.py:51: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- paroxython/filter_programs.py:20: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/parse_program.py:9: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/parse_program.py:240: error: Incompatible types in assignment (expression has type "Callable[[str, int | None, int | None, bool, bool | None, bool, float | None], Scanner[str]]", target has type "Pattern[Any]") [assignment]
- paroxython/parse_program.py:288: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/parse_program.py:297: error: "Pattern[Any]" not callable [operator]
- paroxython/recommend_programs.py:36: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/recommend_programs.py:160: error: Incompatible types in assignment (expression has type "str", variable has type "Operation") [assignment]
- paroxython/label_programs.py:6: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/cli_recommend.py:83: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/map_taxonomy.py:113: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/map_taxonomy.py:178: error: Argument 1 to "append" of "list" has incompatible type "tuple[regex._main.Pattern[str], TaxonPattern]"; expected "tuple[re.Pattern[Any], TaxonPattern]" [arg-type]
- paroxython/make_db.py:12: error: Unused "type: ignore" comment [unused-ignore]
- paroxython/cli.py:24: error: Unused "type: ignore" comment [unused-ignore]
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: 2.3.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 6222, in accept
+ File "mypy/nodes.py", line 2359, in accept
+ File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6267, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7870, in named_type
+ File "mypy/checker.py", line 7874, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7979, 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: 2.3.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 6222, in accept
+ File "mypy/nodes.py", line 2359, in accept
+ File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6267, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7870, in named_type
+ File "mypy/checker.py", line 7874, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7979, 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)"
+
psycopg (https://github.com/psycopg/psycopg)
+ ...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: 2.3.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
- psycopg/psycopg/types/numeric.py:405: error: No overload variant of "int" matches argument type "object" [call-overload]
- psycopg/psycopg/types/numeric.py:405: note: Possible overload variants:
- psycopg/psycopg/types/numeric.py:405: note: def int(str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc = ..., /) -> int
- psycopg/psycopg/types/numeric.py:405: note: def int(str | bytes | bytearray, /, base: SupportsIndex) -> int
- tests/scripts/bench-411.py:62: error: Unused "type: ignore" comment [unused-ignore]
- tests/scripts/bench-411.py:68: error: Unused "type: ignore" comment [unused-ignore]
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6222, in accept
+ File "mypy/nodes.py", line 2359, in accept
+ File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6267, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7870, in named_type
+ File "mypy/checker.py", line 7874, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7979, 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)"
+
optuna (https://github.com/optuna/optuna)
- optuna/_gp/qmc.py:22: error: Unused "type: ignore" comment [unused-ignore]
- optuna/_gp/gp.py:235: error: Unused "type: ignore" comment [unused-ignore]
- optuna/_gp/gp.py:341: error: Unused "type: ignore" comment [unused-ignore]
- optuna/_gp/gp.py:343: error: Unused "type: ignore" comment [unused-ignore]
- optuna/_gp/gp.py:345: error: Unused "type: ignore" comment [unused-ignore]
- optuna/_gp/batched_lbfgsb.py:54: error: Item "None" of "greenlet | None" has no attribute "switch" [union-attr]
- optuna/_gp/batched_lbfgsb.py:73: error: Item "None" of "greenlet | None" has no attribute "switch" [union-attr]
- optuna/_gp/optim_mixed.py:66: error: Unused "type: ignore" comment [unused-ignore]
- optuna/_gp/optim_mixed.py:67: error: Unused "type: ignore" comment [unused-ignore]
- optuna/_gp/acqf.py:117: error: Unused "type: ignore" comment [unused-ignore]
- optuna/_gp/acqf.py:118: error: Unused "type: ignore" comment [unused-ignore]
- optuna/visualization/matplotlib/_timeline.py:85: error: Unused "type: ignore" comment [unused-ignore]
- optuna/visualization/matplotlib/_timeline.py:86: error: Unused "type: ignore" comment [unused-ignore]
- optuna/visualization/matplotlib/_timeline.py:107: error: Unused "type: ignore" comment [unused-ignore]
- optuna/visualization/matplotlib/_timeline.py:108: error: Unused "type: ignore" comment [unused-ignore]
- optuna/visualization/matplotlib/_timeline.py:111: error: Unused "type: ignore" comment [unused-ignore]
- tests/gp_tests/test_acqf.py:17: 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: 2.3.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 6222, in accept
+ File "mypy/nodes.py", line 2359, in accept
+ File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6267, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7870, in named_type
+ File "mypy/checker.py", line 7874, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7979, 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)"
+
steam.py (https://github.com/Gobot1234/steam.py)
+ ...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: 2.3.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 6222, in accept
+ File "mypy/nodes.py", line 2359, in accept
+ File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+ return self.named_type("builtins.ellipsis")
+ File "mypy/checkexpr.py", line 6267, in named_type
+ return self.chk.named_type(name)
+ File "mypy/checker.py", line 7870, in named_type
+ File "mypy/checker.py", line 7874, in _named_type
+ sym = self.lookup_qualified(name)
+ File "mypy/checker.py", line 7979, 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)"
+
- steam/types/vdf.py:31: error: Incompatible return value type (implicitly returns "None", expected "Never") [empty-body]
- steam/types/vdf.py:33: error: Incompatible return value type (implicitly returns "None", expected "Never") [empty-body]
- steam/types/manifest.py:67: error: Duplicate TypedDict key "review_percentage" [misc]
- steam/types/manifest.py:68: error: Duplicate TypedDict key "review_score" [misc]
- steam/types/manifest.py:71: error: Duplicate TypedDict key "steam_release_date" [misc]
- steam/types/manifest.py:73: error: Duplicate TypedDict key "store_tags" [misc]
- steam/_const.py:37: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:57: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:69: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:73: error: Function is missing a return type annotation [no-untyped-def]
- steam/_const.py:73: error: Function is missing a type annotation for one or more parameters [no-untyped-def]
- steam/_const.py:75: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:90: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:100: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:109: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:110: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:118: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:146: error: Invalid base class [misc]
- steam/_const.py:190: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:195: error: Cannot assign to a method [method-assign]
- steam/_const.py:195: error: Incompatible types in assignment (expression has type "Callable[[_IDComparable, object], bool]", variable has type "Callable[[object, object], bool]") [assignment]
- steam/_const.py:196: error: Cannot assign to a method [method-assign]
- steam/_const.py:196: error: Incompatible types in assignment (expression has type "Callable[[_IDComparable], int]", variable has type "Callable[[object], int]") [assignment]
- steam/types/user.py:143: error: Parameter 1 of Literal[...] is invalid [valid-type]
- steam/invite.py:77: error: Cannot use a covariant type variable as a parameter [misc]
- steam/invite.py:78: error: Cannot use a covariant type variable as a parameter [misc]
- steam/invite.py:90: error: Attributes without a default cannot follow attributes with one [misc]
- steam/invite.py:109: error: Attributes without a default cannot follow attributes with one [misc]
- steam/invite.py:134: error: Call to abstract method "accept" of "_Invite" with trivial body via super() is unsafe [safe-super]
- steam/enums.py:98: error: Function is missing a return type annotation [no-untyped-def]
- steam/enums.py:98: note: Use "-> None" if function does not return a value
- steam/enums.py:106: error: Invalid base class [misc]
- steam/enums.py:108: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:111: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:124: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:181: error: Invalid base class [misc]
- steam/enums.py:184: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:198: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:247: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:322: error: Incompatible return value type (got "int", expected "Self") [return-value]
- steam/enums.py:635: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:638: error: Dict entry 0 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:639: error: Dict entry 1 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:640: error: Dict entry 2 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:641: error: Dict entry 3 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:642: error: Dict entry 4 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:643: error: Dict entry 5 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:644: error: Dict entry 6 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:645: error: Dict entry 7 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:646: error: Dict entry 8 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:647: error: Dict entry 9 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:648: error: Dict entry 10 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:649: error: Dict entry 11 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:650: error: Dict entry 12 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:651: error: Dict entry 13 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:652: error: Dict entry 14 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:653: error: Dict entry 15 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:654: error: Dict entry 16 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:655: error: Dict entry 17 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:656: error: Dict entry 18 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:657: error: Dict entry 19 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:658: error: Dict entry 20 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:659: error: Dict entry 21 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:660: error: Dict entry 22 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:661: error: Dict entry 23 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:662: error: Dict entry 24 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:663: error: Dict entry 25 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:664: error: Dict entry 26 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:665: error: Dict entry 27 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:666: error: Dict entry 28 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:670: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:673: error: Dict entry 0 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:674: error: Dict entry 1 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:675: error: Dict entry 2 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:676: error: Dict entry 3 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:677: error: Dict entry 4 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:678: error: Dict entry 5 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:679: error: Dict entry 6 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:680: error: Dict entry 7 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:681: error: Dict entry 8 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:682: error: Dict entry 9 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:683: error: Dict entry 10 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:684: error: Dict entry 11 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:685: error: Dict entry 12 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:686: error: Dict entry 13 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:687: error: Dict entry 14 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:688: error: Dict entry 15 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:689: error: Dict entry 16 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:690: error: Dict entry 17 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:691: error: Dict entry 18 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:692: error: Dict entry 19 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:693: error: Dict entry 20 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:694: error: Dict entry 21 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:695: error: Dict entry 22 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:696: error: Dict entry 23 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:697: error: Dict entry 24 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:698: error: Dict entry 25 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:699: error: Dict entry 26 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:700: error: Dict entry 27 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:701: error: Dict entry 28 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:705: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:708: error: Dict entry 0 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:709: error: Dict entry 1 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:710: error: Dict entry 2 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:711: error: Dict entry 3 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:712: error: Dict entry 4 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:713: error: Dict entry 5 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:714: error: Dict entry 6 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:715: error: Dict entry 7 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:716: error: Dict entry 8 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:717: error: Dict entry 9 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:718: error: Dict entry 10 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:719: error: Dict entry 11 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:720: error: Dict entry 12 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:721: error: Dict entry 13 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:722: error: Dict entry 14 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:723: error: Dict entry 15 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:724: error: Dict entry 16 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:725: error: Dict entry 17 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:726: error: Dict entry 18 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:727: error: Dict entry 19 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:728: error: Dict entry 20 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:729: error: Dict entry 21 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:730: error: Dict entry 22 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:731: error: Dict entry 23 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:732: error: Dict entry 24 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:733: error: Dict entry 25 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:734: error: Dict entry 26 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:735: error: Dict entry 27 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:736: error: Dict entry 28 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:2147: error: Incompatible return value type (got "int", expected "UserNewsType") [return-value]
- steam/enums.py:2160: error: Incompatible return value type (got "int", expected "UserNewsType") [return-value]
- steam/errors.py:93: error: Unused "type: ignore" comment [unused-ignore]
- steam/protobufs/headers.py:71: error: Function is missing a return type annotation [no-untyped-def]
- steam/protobufs/headers.py:71: note: Use "-> None" if function does not return a value
- steam/protobufs/headers.py:120: error: Need type argument for Final[...] with non-literal default in dataclass [misc]
- steam/protobufs/headers.py:124: error: Unused "type: ignore" comment [unused-ignore]
- steam/protobufs/headers.py:146: error: Function is missing a return type annotation [no-untyped-def]
- steam/protobufs/headers.py:146: note: Use "-> None" if function does not return a value
- steam/id.py:134: error: Cannot infer type of lambda [misc]
- steam/id.py:143: error: Cannot infer type of lambda [misc]
- steam/id.
... (truncated 34700 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.