Ecosystem report

Old: main (merge base) d5a63944 New: 28067/merge 794d3116
Lint Rule Removed Added Changed
Total 100 490 39
invalid-type-form 63 195 0
invalid-argument-type 0 77 4
unresolved-attribute 0 63 18
unsound-return-statement 28 46 3
unsound-assignment 7 22 0
invalid-base 0 26 0
missing-argument 0 17 0
unknown-argument 0 16 0
unsupported-operator 0 9 7
invalid-assignment 0 7 7
no-matching-overload 0 4 0
unsound-yield 0 3 0
unsupported-base 0 2 0
call-non-callable 0 1 0
invalid-method-override 0 1 0
invalid-return-type 0 1 0
unused-ignore-comment 1 0 0
unused-type-ignore-comment 1 0 0
Project Removed Added Changed
Total 100 490 39
mypy non-strict 1 248 0
spack non-strict 34 169 35
pandera strict 65 53 4
dd-trace-py non-strict 0 15 0
setuptools strict 0 2 0
steam.py non-strict 0 2 0
jax non-strict 0 1 0

dd-trace-py non-strict (https://github.com/DataDog/dd-trace-py)

tests/contrib/ray/jobs/actor_without_init.py

[error] unresolved-attribute - Class `Counter` has no attribute `remote`

tests/contrib/ray/test_ray.py

[error] unresolved-attribute - Class `Counter` has no attribute `remote`
[error] unresolved-attribute - Class `_InternalActor` has no attribute `remote`
[error] unresolved-attribute - Class `PartiallyIgnoredCounter` has no attribute `remote`
[error] unresolved-attribute - Class `IgnoredCounter` has no attribute `remote`
[error] unresolved-attribute - Class `ComputationManager` has no attribute `remote`
[error] unresolved-attribute - Class `Sender` has no attribute `remote`
[error] unresolved-attribute - Class `Receiver` has no attribute `remote`
[error] unresolved-attribute - Class `Counter` has no attribute `remote`

tests/contrib/ray_serve/multi_app/app1.py

[error] unresolved-attribute - Class `HelloApp` has no attribute `bind`

tests/contrib/ray_serve/multi_app/app2.py

[error] unresolved-attribute - Class `GoodbyeApp` has no attribute `bind`

tests/contrib/ray_serve/test_ray_serve.py

[error] unresolved-attribute - Class `ClassDeployment` has no attribute `bind`
[error] unresolved-attribute - Class `Ingress` has no attribute `bind`
[error] unresolved-attribute - Class `Hello` has no attribute `bind`
[error] unresolved-attribute - Class `TraceIDDeployment` has no attribute `bind`

jax non-strict (https://github.com/google/jax)

jax/experimental/mosaic/gpu/dialect_lowering.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `WarpMapOp`

mypy non-strict (https://github.com/python/mypy)

mypy/typeshed/stdlib/typing.pyi

[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a type expression
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-argument-type - Argument to `TypeVar.__init__` is incorrect: Expected `Any | None`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `tuple[EllipsisType, <class 'Any'>]` on object of type `_SpecialForm`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `tuple[EllipsisType, <class 'Any'>]` on object of type `_SpecialForm`
[error] unsupported-operator - Operator `|` is not supported between objects of type `object` and `<class 'type'>`
[error] invalid-argument-type - Argument to `TypeVar.__init__` is incorrect: Expected `Any | None`, found `<special-form 'type[object]'>`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a parameter annotation
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-argument-type - Argument to `TypeVar.__init__` is incorrect: Expected `Any`, found `<class 'str'>`
[error] invalid-argument-type - Argument to `TypeVar.__init__` is incorrect: Expected `Any`, found `<class 'bytes'>`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-base - Invalid class base with type `_SpecialForm`
[error] invalid-base - Invalid class base with type `_SpecialForm`
[error] invalid-base - Invalid class base with type `_SpecialForm`
[error] invalid-base - Invalid class base with type `_SpecialForm`
[error] invalid-base - Invalid class base with type `_SpecialForm`
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-base - Invalid class base with type `_SpecialForm`
[error] invalid-base - Invalid class base with type `_SpecialForm`
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-type-form - Non-generic class `Iterator` cannot be specialized in a type expression
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterator` cannot be specialized in a type expression
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-type-form - Non-generic class `Iterator` cannot be specialized in a type expression
[error] unknown-argument - Argument `default` does not match any known parameter of `TypeVar.__init__`
[error] unknown-argument - Argument `default` does not match any known parameter of `TypeVar.__init__`
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `tuple[TypeVar, TypeVar, TypeVar]` on object of type `_SpecialForm`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Generator` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a type expression
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a type expression
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-type-form - Non-generic class `Generator` cannot be specialized in a type expression
[error] invalid-base - Invalid class base with type `_Final`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-base - Invalid class base with type `_Final`
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-type-form - Non-generic class `AsyncIterator` cannot be specialized in a type expression
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-type-form - Non-generic class `Awaitable` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `AsyncIterator` cannot be specialized in a type expression
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `tuple[TypeVar, TypeVar]` on object of type `_SpecialForm`
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-base - Invalid class base with type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `TypeVar` on object of type `_SpecialForm`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterator` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Iterator` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a type expression
[error] invalid-base - Invalid class base with type `_Final`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterator` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterator` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Non-generic class `Iterator` cannot be specialized in a type expression
[error] invalid-base - Invalid class base with type `_Final`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a type expression
[error] invalid-base - Invalid class base with type `_Final`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterator` cannot be specialized in a type expression
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a type alias value
[error] invalid-argument-type - Method `__getitem__` of type `bound method _SpecialForm.__getitem__(parameters: Any) -> object` cannot be called with key of type `tuple[EllipsisType, <class 'Any'>]` on object of type `_SpecialForm`
[error] invalid-type-form - Variable of type `object` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a type expression
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a type expression
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a type expression
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a type expression
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a type expression
[error] invalid-type-form - Invalid subscript of object of type `_SpecialForm` in a type expression
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[warning] unused-ignore-comment - Unused `ty: ignore` directive
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] unsupported-operator - Operator `|` is not supported between two objects of type `TypeVar`
[error] unsupported-operator - Operator `|` is not supported between two objects of type `TypeVar`
[error] unsupported-operator - Operator `|` is not supported between objects of type `TypeVar` and `None`
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a parameter annotation
[error] invalid-type-form - Variable of type `TypeVar` is not allowed in a return type annotation
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression

mypyc/test-data/fixtures/typing-full.pyi

[error] invalid-type-form - Non-generic class `Iterator` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Awaitable` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Awaitable` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `AsyncIterator` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `AsyncIterator` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Awaitable` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Iterator` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Awaitable` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Awaitable` cannot be specialized in a type expression
[error] invalid-type-form - Non-generic class `Iterable` cannot be specialized in a type expression

pandera strict (https://github.com/pandera-dev/pandera)

tests/pandas/test_numpy_engine.py

[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`

pandera/engines/numpy_engine.py

[warning] unsupported-base - Unsupported class base with type `<class 'pandera.engines.numpy_engine.Float64 @ pandera/engines/numpy_engine.py:261:11'> | <class 'pandera.engines.numpy_engine.Float64 @ pandera/engines/numpy_engine.py:269:11'>`
[warning] unsupported-base - Unsupported class base with type `<class 'pandera.engines.numpy_engine.Complex128 @ pandera/engines/numpy_engine.py:310:11'> | <class 'pandera.engines.numpy_engine.Complex128 @ pandera/engines/numpy_engine.py:318:11'>`

pandera/engines/pandas_engine.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `DataType`

pandera/typing/common.py

[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression

pandera/typing/pandas.py

[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression

tests/geopandas/test_engine.py

[error] no-matching-overload - No overload of function `any` matches arguments

tests/geopandas/test_geopandas.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `Geometry`
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `Geometry`
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `Geometry`
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `Geometry`
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `Geometry`

tests/io/test_pandas_io.py

[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `Series[Int64]`

tests/narwhals/test_pandas_e2e.py

[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`

tests/pandas/test_dtypes.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] invalid-assignment - Object of type `list[tuple[dict[Unknown, Unknown], list[Unknown]] | tuple[dict[Unknown | <class 'datetime'> | <class 'datetime64'> | type[Unknown] | DatetimeTZDtype, Unknown | str], Series[Timestamp]] | tuple[dict[Unknown | PeriodDtype, Unknown | str], Series[Period]] | tuple[dict[Unknown | <class 'SparseDtype'> | SparseDtype, Unknown | SparseDtype], Series[Any]] | tuple[dict[Unknown | IntervalDtype, Unknown | str], Series[Interval[float]]]]` is not assignable to `list[tuple[dict[Unknown, Unknown], list[Unknown]]]`
[error] invalid-assignment - Object of type `list[tuple[dict[Unknown, Unknown], list[Unknown]] | tuple[dict[Unknown | <class 'datetime'> | <class 'datetime64'> | ... omitted 4 union elements, Unknown | str], Series[pandas._libs.tslibs.timestamps.Timestamp]] | tuple[dict[Unknown | PeriodDtype, Unknown | str], Series[Period]] | tuple[dict[Unknown | <class 'SparseDtype'> | SparseDtype, Unknown | SparseDtype], Series[Any]] | tuple[dict[Unknown | IntervalDtype, Unknown | str], Series[Interval[float]]]]` is not assignable to `list[tuple[dict[Unknown, Unknown], list[Unknown]]]`

tests/pandas/test_logical_dtypes.py

[error] unresolved-attribute - Object of type `bool | Iterable[bool]` has no attribute `all`
[error] unresolved-attribute - Object of type `bool | Iterable[bool]` has no attribute `any`
[error] invalid-argument-type - Argument to bound method `Decimal.check` is incorrect: Expected `DataType`, found `dtype[generic[Any]] | ExtensionDtype`
[error] unresolved-attribute - Object of type `bool | Iterable[bool]` has no attribute `dtype`
[error] invalid-argument-type - Argument to bound method `Decimal.check` is incorrect: Expected `pandera.engines.pandas_engine.DataType`, found `pandera.dtypes.DataType`
[error] invalid-argument-type - Argument to bound method `Decimal.check` is incorrect: Expected `Series[Any] | None`, found `Series[Any] | DataFrame`
[error] unresolved-attribute - Object of type `bool | Iterable[bool]` has no attribute `all`

tests/pandas/test_model.py

[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `Date`

tests/pandas/test_pandas_engine.py

[error] invalid-argument-type - Argument to bound method `pandera.engines.pandas_engine.DataType.check` is incorrect: Expected `pandera.dtypes.DataType`, found `dtype[generic[Any]] | ExtensionDtype | Series[Any]`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] unknown-argument - Argument `tz` does not match any known parameter of `DataType.__init__`
[error] unknown-argument - Argument `tz_localize_kwargs` does not match any known parameter of `DataType.__init__`
[error] unknown-argument - Argument `time_zone_agnostic` does not match any known parameter of `DataType.__init__`
[error] unknown-argument - Argument `tz` does not match any known parameter of `DataType.__init__`
[error] unknown-argument - Argument `tz` does not match any known parameter of `DataType.__init__`
[error] unknown-argument - Argument `time_zone_agnostic` does not match any known parameter of `DataType.__init__`
[error] unknown-argument - Argument `tz` does not match any known parameter of `DataType.__init__`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] unknown-argument - Argument `to_datetime_kwargs` does not match any known parameter of `DataType.__init__`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] call-non-callable - Object of type `Series[Any]` is not callable
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] unknown-argument - Argument `to_datetime_kwargs` does not match any known parameter of `DataType.__init__`
[error] invalid-argument-type - Argument to function `DateTime._rebuild_data_container` is incorrect: Expected `Series[Any] | DataFrame`, found `Index[str]`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] unknown-argument - Argument `time_zone_agnostic` does not match any known parameter of `DataType.__init__`
[error] unknown-argument - Argument `tz` does not match any known parameter of `DataType.__init__`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`

tests/pandas/test_typing.py

[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `Series[Bool]`
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `Series[Int64]`

tests/polars/test_polars_model.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `DateTime`
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `DateTime`

tests/pyspark/test_schemas_on_pyspark_pandas.py

[error] missing-argument - No argument provided for required parameter `dtype` of `DataType.__init__`
[error] unknown-argument - Argument `tz` does not match any known parameter of `DataType.__init__`

tests/strategies/test_strategies.py

[error] invalid-argument-type - Argument to function `str_length_strategy` is incorrect: Expected `pandera.engines.numpy_engine.DataType | pandera.engines.pandas_engine.DataType`, found `type[Unknown]`
[error] invalid-argument-type - Argument to function `str_length_strategy` is incorrect: Expected `pandera.engines.numpy_engine.DataType | pandera.engines.pandas_engine.DataType`, found `<class 'String'>`
[error] invalid-argument-type - Argument to function `str_length_strategy` is incorrect: Expected `pandera.engines.numpy_engine.DataType | pandera.engines.pandas_engine.DataType`, found `type[Unknown]`
[error] invalid-argument-type - Argument to function `str_length_strategy` is incorrect: Expected `pandera.engines.numpy_engine.DataType | pandera.engines.pandas_engine.DataType`, found `<class 'String'>`
[error] invalid-argument-type - Argument to function `str_length_strategy` is incorrect: Expected `pandera.engines.numpy_engine.DataType | pandera.engines.pandas_engine.DataType`, found `type[Unknown]`
[error] invalid-argument-type - Argument to function `str_length_strategy` is incorrect: Expected `pandera.engines.numpy_engine.DataType | pandera.engines.pandas_engine.DataType`, found `<class 'String'>`

setuptools strict (https://github.com/pypa/setuptools)

setuptools/_distutils/tests/test_extension.py

[error] unknown-argument - Argument `py_limited_api` does not match any known parameter of `Extension.__init__`
[error] unknown-argument - Argument `world` does not match any known parameter of `Extension.__init__`

spack non-strict (https://github.com/spack/spack)

lib/spack/spack/bootstrap/clingo.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`

lib/spack/spack/cmd/create.py

[error] invalid-argument-type - Argument to bound method `RepoPath.get_repo` is incorrect: Expected `str`, found `(str & ~AlwaysFalsy) | Literal[True] | (Unknown & ~AlwaysFalsy)`

lib/spack/spack/cmd/deconcretize.py

[warning] unsound-return-statement - Unsound return statement: `list[Unknown | Spec]` is not a subtype of `list[Spec]`

lib/spack/spack/cmd/find.py

[warning] unsound-return-statement - Unsound return statement: `tuple[list[Spec] | Any | list[Spec | Any], list[Spec]]` is not a subtype of `tuple[list[Spec], list[Spec]]`

lib/spack/spack/concretize.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`

lib/spack/spack/filesystem_view.py

[warning] unsound-return-statement - Unsound return statement: `def view_hardlink(src: str, dst: str, *args, **kwargs) -> None` is not a subtype of `(str, str, FilesystemView, Spec | None, /) -> None`
[warning] unsound-return-statement - Unsound return statement: `def view_symlink(src: str, dst: str, *args, **kwargs) -> None` is not a subtype of `(str, str, FilesystemView, Spec | None, /) -> None`

lib/spack/spack/hash_lookup.py

[warning] unsound-return-statement - Unsound return statement: `Spec | Unknown` is not a subtype of `Spec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`

lib/spack/spack/installer/schedule.py

[warning] unsound-return-statement - Unsound return statement: `list[Spec | Unknown]` is not a subtype of `list[Spec]`

lib/spack/spack/test/architecture.py

[error] unresolved-attribute - Attribute `os` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `os` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`

lib/spack/spack/test/concretization/errors.py

[error] invalid-argument-type - Argument to `OutputDoesNotSatisfyInputError.__init__` is incorrect: Expected `list[tuple[Spec, Spec | None]]`, found `list[tuple[Spec, Spec] | tuple[Spec, None]]`

lib/spack/spack/test/directory_layout.py

[error] invalid-argument-type - Argument to bound method `Spec.copy` is incorrect: Expected `int | str | list[str] | tuple[str, ...]`, found `SpecHashDescriptor`
[error] invalid-argument-type - Argument to bound method `Spec.copy` is incorrect: Expected `int | str | list[str] | tuple[str, ...]`, found `SpecHashDescriptor`
[error] invalid-argument-type - Argument to bound method `Spec.copy` is incorrect: Expected `int | str | list[str] | tuple[str, ...]`, found `SpecHashDescriptor`

lib/spack/spack/test/error.py

[error] invalid-argument-type - Argument to `OutputDoesNotSatisfyInputError.__init__` is incorrect: Expected `list[tuple[Spec, Spec | None]]`, found `list[tuple[Spec, Spec] | tuple[Spec, None]]`

lib/spack/spack/test/provider_index.py

[error] invalid-argument-type - Argument to `ProviderIndex.__init__` is incorrect: Expected `Iterable[Spec] | None`, found `list[str]`

lib/spack/spack/test/spec_format.py

[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `os` is not defined on `None` in union `None | ArchSpec | Unknown`

lib/spack/spack/dependency.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

lib/spack/spack/hash_types.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

lib/spack/spack/solver/reuse.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `bool`

lib/spack/spack/binary_distribution.py

[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `Prefix`, found `str`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

lib/spack/spack/build_environment.py

[warning] unsound-return-statement - Unsound return statement: `list[tuple[Unknown, UseMode] | tuple[Spec, UseMode]]` is not a subtype of `list[tuple[Spec, UseMode]]`

lib/spack/spack/builder.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`
[error] invalid-return-type - Return type does not match returned value: expected `str`, found `tuple[bool | str, ...] | bool | str`

lib/spack/spack/ci/gitlab.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | str` is not a subtype of `str`

lib/spack/spack/cmd/__init__.py

[warning] unsound-return-statement - Unsound return statement: `Spec | Unknown` is not a subtype of `Spec`
[warning] unsound-return-statement - Unsound return statement: `Spec | Unknown` is not a subtype of `Spec`
[error] unresolved-attribute - Attribute `prefix` is not defined on `None` in union `Unknown | None`
[error] unresolved-attribute - Attribute `prefix` is not defined on `None` in union `Spec | None | Unknown`

lib/spack/spack/cmd/buildcache.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

lib/spack/spack/cmd/compiler.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `list[Spec]`

lib/spack/spack/cmd/solve.py

[error] invalid-argument-type - Argument to function `msg` is incorrect: Expected `str`, found `Spec | Unknown`

lib/spack/spack/compilers/adaptor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

lib/spack/spack/compilers/config.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `list[Spec]`
[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, str, str]` is not a subtype of `tuple[str, str, str]`

lib/spack/spack/cray_manifest.py

[error] unresolved-attribute - Unresolved attribute `_hashes_final` on type `Spec`
[error] unresolved-attribute - Unresolved attribute `origin` on type `Spec`

lib/spack/spack/database.py

[error] unresolved-attribute - Object of type `Spec` has no attribute `_package_hash`
[error] invalid-argument-type - Argument to `InstallRecord.__init__` is incorrect: Expected `str | None`, found `object`
[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, Unknown]` is not a subtype of `tuple[str, str]`
[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, str]` is not a subtype of `tuple[str, str]`

lib/spack/spack/detection/common.py

[warning] unsound-return-statement - Unsound return statement: `list[Unknown]` is not a subtype of `list[Spec]`

lib/spack/spack/detection/path.py

[warning] unsound-return-statement - Unsound return statement: `list[Unknown | Spec]` is not a subtype of `list[Spec]`
[warning] unsound-return-statement - Unsound return statement: `defaultdict[Unknown, Unknown]` is not a subtype of `dict[str, list[Spec]]`

lib/spack/spack/directives.py

[error] no-matching-overload - No overload of bound method `MutableMapping.setdefault` matches arguments

lib/spack/spack/directory_layout.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec | None`
[warning] unsound-return-statement - Unsound return statement: `list[tuple[Spec, Unknown] | tuple[Spec, Spec]]` is not a subtype of `list[tuple[Spec, Spec]]`

lib/spack/spack/environment/environment.py

[warning] unsound-return-statement - Unsound return statement: `set[tuple[Unknown, Unknown] | tuple[str, Spec]]` is not a subtype of `set[tuple[str, Spec]]`
[warning] unsound-assignment - Unsound assignment: `list[Spec] | Unknown` is not a subtype of `list[Spec] | None`
[warning] unsound-return-statement - Unsound return statement: `tuple[list[UnspecializedTypeVar], list[UnspecializedTypeVar]]` is not a subtype of `tuple[list[Spec], list[Spec]]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `list[tuple[Spec, Spec]]`
[warning] unsound-return-statement - Unsound return statement: `bool | (Unknown & ~AlwaysTruthy)` is not a subtype of `bool`
[error] invalid-argument-type - Argument to function `traverse_nodes` is incorrect: Expected `Sequence[Unknown]`, found `dict_values[str, Unknown]`
[error] invalid-argument-type - Argument to function `traverse_nodes` is incorrect: Expected `Sequence[Spec]`, found `dict_values[str, Spec]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str`
[error] invalid-assignment - Object of type `None | str | bool | Unknown` is not assignable to `str`

lib/spack/spack/externals.py

[error] invalid-assignment - Object of type `Microarchitecture` is not assignable to attribute `target` on type `None | (ArchSpec & ~AlwaysTruthy) | (Unknown & ~AlwaysTruthy)`

lib/spack/spack/install_test.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

lib/spack/spack/modules/common.py

[warning] unsound-return-statement - Unsound return statement: `Any | dict[str, Spec]` is not a subtype of `dict[str, Spec]`
[warning] unsound-return-statement - Unsound return statement: `dict[str, Unknown | Spec]` is not a subtype of `dict[str, Spec]`
[warning] unsound-return-statement - Unsound return statement: `Any | dict[str, Spec]` is not a subtype of `dict[str, Spec]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `dict[str, Spec]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

lib/spack/spack/old_installer.py

[error] no-matching-overload - No overload of function `join` matches arguments
[error] invalid-argument-type - Argument to bound method `RepoPath.get_repo` is incorrect: Expected `str`, found `None | str | bool | Unknown`
[error] no-matching-overload - No overload of function `join` matches arguments
[error] invalid-argument-type - Argument to function `create_or_construct` is incorrect: Expected `str | None`, found `None | str | bool | Unknown`
[warning] unsound-yield - Unsound `yield`: `Unknown | Spec` is not a subtype of `Spec`

lib/spack/spack/package_base.py

[warning] unsound-return-statement - Unsound return statement: `Literal[False] | Unknown` is not a subtype of `bool`

lib/spack/spack/platforms/__init__.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `() -> Platform`
[warning] unsound-assignment - Unsound assignment: `_PickleableCallable` is not a subtype of `() -> Platform`

lib/spack/spack/solver/asp.py

[warning] unsound-yield - Unsound `yield`: `tuple[Unknown, Unknown]` is not a subtype of `tuple[str, Spec]`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[GitVersion | StandardVersion, list[Provenance]].__getitem__(key: GitVersion | StandardVersion, /) -> list[Provenance]` cannot be called with key of type `ConcreteVersion` on object of type `dict[GitVersion | StandardVersion, list[Provenance]]`
[error] invalid-argument-type - Argument to bound method `PossibleDependencyGraph.unreachable` is incorrect: Expected `Spec`, found `str`
[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `str | bool | (Unknown & ~None)` on object of type `dict[str, str]`
[warning] unsound-assignment - Unsound assignment: `tuple[Unknown, ...]` is not a subtype of `tuple[Spec, ...]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[GitVersion | StandardVersion, list[Provenance]].__getitem__(key: GitVersion | StandardVersion, /) -> list[Provenance]` cannot be called with key of type `ConcreteVersion` on object of type `dict[GitVersion | StandardVersion, list[Provenance]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[set[Unknown], set[Unknown]]` is not a subtype of `tuple[set[Spec], set[Spec]]`
[warning] unsound-return-statement - Unsound return statement: `Literal[True] | Unknown` is not a subtype of `bool`
[warning] unsound-assignment - Unsound assignment: `(Unknown & ~AlwaysFalsy) | str | None` is not a subtype of `str | None`
[warning] unsound-assignment - Unsound assignment: `(Unknown & ~AlwaysFalsy) | str | None` is not a subtype of `str | None`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `tuple[bool | str, ...]`
[warning] unsound-assignment - Unsound assignment: `(Unknown & ~AlwaysFalsy) | str | None` is not a subtype of `str | None`
[warning] unsound-assignment - Unsound assignment: `(Unknown & ~AlwaysFalsy) | str | None` is not a subtype of `str | None`
[warning] unsound-assignment - Unsound assignment: `(Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | Literal[""]` is not a subtype of `str | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `bool`
[warning] unsound-return-statement - Unsound return statement: `Literal[False] | Unknown` is not a subtype of `bool`

lib/spack/spack/spec.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ArchSpec`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ArchSpec`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ArchSpec`
[warning] unsound-yield - Unsound `yield`: `Unknown` is not a subtype of `DependencySpec`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `DependencySpec | None`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["direct"]` and value of type `Literal[True]` on object of type `dict[str, tuple[Literal["build", "link", "run", "test"], ...] | tuple[Divergent, ...]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["when"]` and value of type `str` on object of type `dict[str, tuple[Literal["build", "link", "run", "test"], ...] | tuple[Divergent, ...]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["propagation"]` and value of type `Literal["PREFERENCE"]` on object of type `dict[str, tuple[Literal["build", "link", "run", "test"], ...] | tuple[Divergent, ...]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["compiler"]` and value of type `str` on object of type `dict[str, int]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str | Spec`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str | Spec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`
[error] invalid-method-override - Invalid override of method `__setitem__`: Definition is incompatible with `HashableMap.__setitem__`
[warning] unsound-return-statement - Unsound return statement: `dict[Unknown, Unknown]` is not a subtype of `dict[str, Spec]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec`
[warning] unsound-return-statement - Unsound return statement: `Unknown | Literal[True]` is not a subtype of `bool`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `bool`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `bool`
[warning] unsound-return-statement - Unsound return statement: `Unknown | Literal[False]` is not a subtype of `bool`
[warning] unsound-return-statement - Unsound return statement: `Prefix | (Unknown & ~None)` is not a subtype of `Prefix`
[warning] unsound-return-statement - Unsound return statement: `bool | Unknown` is not a subtype of `bool`
[warning] unsound-return-statement - Unsound return statement: `int | Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `tuple[list[Unknown], list[Unknown]]` is not a subtype of `tuple[list[str], list[str]]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `bool`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`
[warning] unsound-return-statement - Unsound return statement: `Literal[""] | Unknown` is not a subtype of `str`
[warning] unsound-return-statement - Unsound return statement: `str | Unknown` is not a subtype of `str`
[error] unresolved-attribute - Attribute `intersects` is not defined on `None` in union `None | Unknown`
[error] unresolved-attribute - Attribute `intersects` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `constrain` is not defined on `None` in union `None | Unknown`
[error] unresolved-attribute - Attribute `constrain` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `platform` is not defined on `None` in union `None | Unknown`
[error] unresolved-attribute - Attribute `platform` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `os` is not defined on `None` in union `None | Unknown`
[error] unresolved-attribute - Attribute `os` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `platform` is not defined on `None` in union `None | Unknown`
[error] unresolved-attribute - Attribute `platform` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] invalid-assignment - Object of type `Unknown & ~AlwaysFalsy` is not assignable to attribute `platform` on type `None | Unknown`
[error] invalid-assignment - Object of type `Unknown & ~AlwaysFalsy` is not assignable to attribute `platform` on type `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `os` is not defined on `None` in union `None | Unknown`
[error] unresolved-attribute - Attribute `os` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] invalid-assignment - Object of type `Unknown & ~AlwaysFalsy` is not assignable to attribute `os` on type `None | Unknown`
[error] invalid-assignment - Object of type `Unknown & ~AlwaysFalsy` is not assignable to attribute `os` on type `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] invalid-assignment - Object of type `Unknown & ~AlwaysFalsy` is not assignable to attribute `target` on type `None | Unknown`
[error] invalid-assignment - Object of type `Unknown & ~AlwaysFalsy` is not assignable to attribute `target` on type `None | ArchSpec | Unknown`

lib/spack/spack/spec_parser.py

[error] invalid-assignment - Object of type `tuple[Unknown, Unknown | dict[str, tuple[str] | int], None | Token | Unknown | type[Token]]` is not assignable to `tuple[Unknown, dict[Unknown, Unknown], Token] | None`
[error] invalid-assignment - Object of type `tuple[Unknown, Unknown | dict[str, tuple[str] | int], None | Token | Unknown | type[Token]]` is not assignable to `tuple[Spec, dict[Unknown, Unknown], Token] | None`

lib/spack/spack/test/ci.py

[error] invalid-argument-type - Argument to function `run_standalone_tests` is incorrect: Expected `CDashHandler | None`, found `Spec`
[error] invalid-argument-type - Argument to function `run_standalone_tests` is incorrect: Expected `bool`, found `Spec`
[error] invalid-argument-type - Argument to function `run_standalone_tests` is incorrect: Expected `int | None`, found `Spec`
[error] invalid-argument-type - Argument to function `run_standalone_tests` is incorrect: Expected `str | None`, found `Spec`
[error] invalid-argument-type - Argument to function `run_standalone_tests` is incorrect: Expected `str | None`, found `Spec`

lib/spack/spack/test/cmd/env.py

[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`

lib/spack/spack/test/concretization/core.py

[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] invalid-argument-type - Argument to `set.__init__` is incorrect: Expected `Iterable[bool | str]`, found `tuple[bool | str, ...] | bool | str`
[error] invalid-argument-type - Argument to `set.__init__` is incorrect: Expected `Iterable[bool | str]`, found `tuple[bool | str, ...] | bool | str`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] invalid-argument-type - Argument to bound method `ReusableSpecsSelector.reusable_specs` is incorrect: Expected `list[Spec]`, found `list[Spec | str]`
[error] unresolved-attribute - Object of type `Spec` has no attribute `_hash`
[error] unresolved-attribute - Object of type `Spec` has no attribute `_hash`
[error] invalid-argument-type - Argument to constructor `frozenset.__new__` is incorrect: Expected `Iterable[bool | str]`, found `tuple[bool | str, ...] | bool | str`
[error] invalid-argument-type - Argument to constructor `frozenset.__new__` is incorrect: Expected `Iterable[bool | str]`, found `tuple[bool | str, ...] | bool | str`
[error] unresolved-attribute - Attribute `target_concrete` is not defined on `None` in union `None | ArchSpec | Unknown`

lib/spack/spack/test/cray_manifest.py

[error] unresolved-attribute - Attribute `satisfies` is not defined on `None` in union `Unknown | None`
[error] unresolved-attribute - Attribute `satisfies` is not defined on `None` in union `Spec | None`
[error] unresolved-attribute - Attribute `extra_attributes` is not defined on `None` in union `Unknown | None`
[error] unresolved-attribute - Attribute `extra_attributes` is not defined on `None` in union `Spec | None`
[error] unresolved-attribute - Attribute `extra_attributes` is not defined on `None` in union `Unknown | None`
[error] unresolved-attribute - Attribute `extra_attributes` is not defined on `None` in union `Spec | None`
[error] unresolved-attribute - Attribute `extra_attributes` is not defined on `None` in union `Unknown | None`
[error] unresolved-attribute - Attribute `extra_attributes` is not defined on `None` in union `Spec | None`

lib/spack/spack/test/directives.py

[error] invalid-assignment - Object of type `dict[Unknown, str]` is not assignable to attribute `licenses` of type `property`
[error] invalid-assignment - Object of type `dict[Spec, str]` is not assignable to attribute `licenses` of type `property`
[error] invalid-assignment - Object of type `dict[Unknown, str]` is not assignable to attribute `licenses` of type `property`
[error] invalid-assignment - Object of type `dict[Spec, str]` is not assignable to attribute `licenses` of type `property`

lib/spack/spack/test/env.py

[error] unresolved-attribute - Unresolved attribute `_hash` on type `Spec`
[error] unresolved-attribute - Object of type `Spec` has no attribute `_hash`

lib/spack/spack/test/modules/common.py

[error] invalid-argument-type - Argument to bound method `UpstreamModuleIndex.upstream_module` is incorrect: Expected `Spec`, found `MockSpec`
[error] invalid-argument-type - Argument to bound method `UpstreamModuleIndex.upstream_module` is incorrect: Expected `Spec`, found `MockSpec`
[error] invalid-argument-type - Argument to bound method `UpstreamModuleIndex.upstream_module` is incorrect: Expected `Spec`, found `MockSpec`
[error] invalid-argument-type - Argument to bound method `UpstreamModuleIndex.upstream_module` is incorrect: Expected `Spec`, found `MockSpec`
[error] invalid-argument-type - Argument to bound method `UpstreamModuleIndex.upstream_module` is incorrect: Expected `Spec`, found `MockSpec`
[error] invalid-argument-type - Argument to function `get_module` is incorrect: Expected `Spec`, found `MockSpec`

lib/spack/spack/test/patch.py

[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["a69b288d7393261e613c276c6d38a01461028291f6e381623acc58139d01f54d"]` and `tuple[bool | str, ...] | bool | str`
[error] unsupported-operator - Operator `not in` is not supported between objects of type `Literal["a69b288d7393261e613c276c6d38a01461028291f6e381623acc58139d01f54d"]` and `tuple[bool | str, ...] | bool | str`

lib/spack/spack/test/spec_semantics.py

[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["test"]` and `None | ArchSpec | Unknown`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["debian"]` and `None | ArchSpec | Unknown`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["x86_64"]` and `None | ArchSpec | Unknown`
[error] unresolved-attribute - Unresolved attribute `_hash` on type `Spec`
[error] unresolved-attribute - Unresolved attribute `_hash` on type `Spec`
[error] unresolved-attribute - Unresolved attribute `_package_hash` on type `Spec`
[error] unresolved-attribute - Unresolved attribute `_hash` on type `Spec`
[error] unresolved-attribute - Object of type `Spec` has no attribute `_package_hash`
[error] unresolved-attribute - Unresolved attribute `_package_hash` on type `Spec`
[error] unresolved-attribute - Attribute `target_concrete` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`
[error] unresolved-attribute - Attribute `target` is not defined on `None` in union `None | ArchSpec | Unknown`

lib/spack/spack/test/spec_syntax.py

[error] invalid-argument-type - Argument to function `expand_toolchains` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `replace_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `replace_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `replace_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `replace_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `replace_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `replace_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `replace_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] unresolved-attribute - Unresolved attribute `_hash` on type `Spec`
[error] invalid-argument-type - Argument to function `lookup_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `lookup_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `replace_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `replace_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `replace_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] invalid-argument-type - Argument to function `replace_hash` is incorrect: Expected `Spec`, found `Spec | None`
[error] unresolved-attribute - Unresolved attribute `_hash` on type `Spec`
[error] unresolved-attribute - Unresolved attribute `_hash` on type `Spec`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["fake"]` and `Unknown | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["fake"]` and `Spec | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["zmpi"]` and `Unknown | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["zmpi"]` and `Spec | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["zmpi"]` and `Unknown | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["zmpi"]` and `Spec | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["zmpi"]` and `Unknown | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["zmpi"]` and `Spec | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["fake"]` and `Unknown | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["fake"]` and `Spec | None`
[error] unsupported-operator - Operator `<=` is not supported between two objects of type `Unknown | None`
[error] unsupported-operator - Operator `<=` is not supported between two objects of type `Spec | None`
[error] unsupported-operator - Operator `<` is not supported between two objects of type `Unknown | None`
[error] unsupported-operator - Operator `<` is not supported between two objects of type `Spec | None`
[error] unresolved-attribute - Attribute `intersects` is not defined on `None` in union `Unknown | None`
[error] unresolved-attribute - Attribute `intersects` is not defined on `None` in union `Spec | None`
[error] invalid-argument-type - Argument to bound method `Spec.intersects` is incorrect: Expected `str | Spec`, found `Spec | None`
[error] unresolved-attribute - Attribute `intersects` is not defined on `None` in union `Unknown | None`
[error] unresolved-attribute - Attribute `intersects` is not defined on `None` in union `Spec | None`
[error] invalid-argument-type - Argument to bound method `Spec.intersects` is incorrect: Expected `str | Spec`, found `Spec | None`
[error] unresolved-attribute - Attribute `satisfies` is not defined on `None` in union `Unknown | None`
[error] unresolved-attribute - Attribute `satisfies` is not defined on `None` in union `Spec | None`
[error] invalid-argument-type - Argument to bound method `Spec.satisfies` is incorrect: Expected `str | Spec`, found `Spec | None`
[error] unresolved-attribute - Attribute `satisfies` is not defined on `None` in union `Unknown | None`
[error] unresolved-attribute - Attribute `satisfies` is not defined on `None` in union `Spec | None`
[error] invalid-argument-type - Argument to bound method `Spec.satisfies` is incorrect: Expected `str | Spec`, found `Spec | None`
[error] unresolved-attribute - Attribute `architecture` is not defined on `None` in union `Unknown | None`
[error] unresolved-attribute - Attribute `architecture` is not defined on `None` in union `Spec | None`
[error] unresolved-attribute - Attribute `platform` is not defined on `None` in union `None | ArchSpec | Unknown`

lib/spack/spack/traverse.py

[error] invalid-argument-type - Argument to `DependencySpec.__init__` is incorrect: Expected `Spec`, found `None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterable[DependencySpec | tuple[int, DependencySpec]]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterable[DependencySpec | tuple[int, DependencySpec]]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterable[DependencySpec | tuple[int, DependencySpec]]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterable[tuple[int, DependencySpec]]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterable[tuple[int, DependencySpec]]`

lib/spack/spack/util/libc.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Spec | None`

lib/spack/spack/util/package_hash.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `bool | None`

lib/spack/spack/variant.py

[error] invalid-argument-type - Argument to `VariantValue.__init__` is incorrect: Expected `tuple[bool | str, ...]`, found `tuple[None]`
[warning] unsound-return-statement - Unsound return statement: `tuple[bool | str | Unknown, ...]` is not a subtype of `tuple[str | bool, ...]`
[warning] unsound-return-statement - Unsound return statement: `tuple[bool | str | Unknown, ...]` is not a subtype of `tuple[str | bool, ...]`

steam.py non-strict (https://github.com/Gobot1234/steam.py)

steam/chat.py

[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `tuple[type[MemberT@ChatGroup], type[ChatT@ChatGroup], type[ChatGroupTypeT@ChatGroup]]`
[warning] unsound-return-statement - Unsound return statement: `Divergent` is not a subtype of `MemberT@ChatGroup`
flaky
(1/10)
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `list[ClanMember | PartialMember] | list[GroupMember | PartialMember]` is not a subtype of `list[MemberT@ChatMessage | PartialMember]`
flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `Divergent` is not a subtype of `MemberT@ChatGroup | PartialMember`
(9/10)
[warning] unsound-return-statement - Unsound return statement: `Divergent` is not a subtype of `PartialMember`
flaky
(2/10)
[error] invalid-argument-type - Argument to bound method `Chat._update` is incorrect: Argument type `ChatT@ChatGroup` does not satisfy upper bound `Chat[GroupMessage | ClanMessage[PartialMember | ClanMember], Clan | None, Group | None]` of type variable `Self`

steam/ext/commands/converters.py

flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `(ClanMember & Member[Unknown, Unknown]) | (PartialMember & Member[Unknown, Unknown]) | (GroupMember & Member[Unknown, Unknown])` is not a subtype of `Member[Clan | None, Group | None]`