Search code examples
How can mypy ignore a single line in a source file?...


pythonpython-typingmypy

Read More
List[Dog] is incompatible with List[Animal] where Dog inherits from Animal...


pythonpython-typingmypy

Read More
How can I type-hint a nested object in Python?...


pythonpython-typingmypyzeep

Read More
Generate TypedDict from function's keyword arguments...


pythonpython-typingmypy

Read More
Type annotating instance attributes: in init or body?...


pythonpython-typingmypy

Read More
How should I type-hint an integer variable that can also be infinite?...


pythonpython-typingmypy

Read More
How to make Mypy deal with subclasses in functions as expected...


pythonpython-typingmypy

Read More
Class cannot subclass 'QObject' (has type 'Any') using mypy...


pythonpyqtpython-typingmypy

Read More
Type hints: when to annotate...


pythonpython-typingmypy

Read More
How should a NamedTemporaryFile be annotated?...


pythonpython-typingmypy

Read More
Is there a way to totally ignore all of the MyPy errors in specific project packages?...


pythonmypy

Read More
mypy error - incompatible type despite using 'Union'...


pythonpython-typingmypy

Read More
Using Mypy local stubs...


pythonpython-typingmypy

Read More
mypy: argument of method incompatible with supertype...


pythonpython-typingmypy

Read More
How to correctly specify type hints with AsyncGenerator and AsyncContextManager...


pythonpython-typingmypy

Read More
MyPy - "Incompatible types in assignment (expression has type None, variable has type ...)&quot...


pythonpython-typingmypy

Read More
Need type annotation for variable in python 3.5 code...


pythonpython-typingmypy

Read More
How to cast a typing.Union to one of its subtypes in Python?...


pythonpython-typingmypy

Read More
Type hints for SQLAlchemy engine and session objects...


pythonsqlalchemypython-typingmypy

Read More
How do I specify OrderedDict K,V types for Mypy type annotation?...


pythonpython-typingmypy

Read More
Specifying a type to be a List of numbers (ints and/or floats)?...


pythonpython-typingmypy

Read More
Type hint for a dict that maps tuples containing classes to the corresponding instances...


pythonmypypython-typing

Read More
Using mypy with with lazy initialization of instance attributes...


pythonmypypython-typing

Read More
How to tackle "Statement is unreachable [unreachable]" with mypy when setting attribute va...


pythonmypypython-typing

Read More
Dict type variable on non generic class methods...


pythonpython-typingmypy

Read More
Type hinting of dependency injection...


pythonpython-typingmypy

Read More
MyPy - Incompatible types in assignment (expression has type None, variable has type X)...


pythonpython-typingmypy

Read More
mypy seems to think that (*args, **kwargs) could match to any funtion signature?...


pythonpython-typingmypyliskov-substitution-principle

Read More
Numpy's `NDArray[np.int_]` not compatible with Python's `Sequence[Integral]`?...


pythonnumpypython-typingmypy

Read More
Why is mypy/PyCharm/etc not detecting type errors for Type[T]?...


pythonpycharmpython-typingmypy

Read More
BackNext