Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in mypy

What is the type hint for Pytest's "caplog" fixture?

python pytest mypy

Python Typing: Mypy errors with overload "overlap" when signatures are different

How to declare a Protocol with a field which supports both a simple type and property?

In python 3.9+, how to write a type alias for the builtin tuple type with ellipsis? (mypy bug?)

python types: Literal of logging level as type?

python types mypy literals

Python typing issue for child classes

python mypy python-typing

Pre-commit python mypy checks all files not just committed files

python git mypy pre-commit.com

How to correctly specify type hints with AsyncGenerator and AsyncContextManager

python python-typing mypy

Define a custom Type that behaves like typing.Any

Kwargs in a Protocol implementer: what is a valid signature?

How to handle Mypy when many possible types but expecting a specific type?

python 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

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