Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in mypy

Python type-checking Protocols and Descriptors

How to properly deal with [import-untyped] in mypy?

How to make mypy correctly type-check a function using functools.partial?

python python-typing mypy

Is this a false positive [override] error? "Signature of (method) incompatible with supertype"

Workaround for lack of intersection types with Python generics?

mypy and pyproject.toml, options only work globally

mypy pyproject.toml

Is there a way to ignore mypy checks on a single function?

python python-typing mypy

Mypy reports an incompatible supertype error with overridden method

python-3.x types mypy

mypy set dictionary keys / interface

mypy: "Item of Union has no attribute" error

mypy: creating a type that accepts list of instances of subclasses

python mypy

Mypy: is there some way to implement a 'SelfType' TypeVar?

python python-3.x types mypy

mypy type checking on Callable thinks that member variable is a method

python mypy

Python typing - is there a way to avoid importing of optional type if it's None?

python pypi typing mypy

Python 3.10+: Optional[Type] or Type | None

Tell mypy I know the type of return parameter for sure

python-3.x mypy

Why is mypy finding "no type hints or library stubs" for any of my imports?

python python-typing mypy

What is the type hint for the pytest fixture "capsys"?

How to make work typing annotation on mypy with unpacking params for pytest parameterized test?

Why isn't dict[str, str] assignable to Mapping[str | int, str] (Mapping key type isn't covariant)?