Insights: python/mypy
Overview
Could not load contribution data
Please try again later
6 Pull requests merged by 5 people
-
refactor: Tiny renaming
#16741 merged
Jan 4, 2024 -
Document how evil `--no-strict-optional` is
#16731 merged
Jan 2, 2024 -
Allow unary + in Literal
#16729 merged
Jan 2, 2024 -
Fix various lint
#16726 merged
Jan 2, 2024 -
Fix xml writing bug introduced in #16388
#16713 merged
Jan 2, 2024 -
Sync typeshed
#16721 merged
Jan 1, 2024
3 Pull requests opened by 3 people
-
Support name mangling
#16715 opened
Dec 29, 2023 -
Improve yield from inference for unions of generators
#16717 opened
Dec 30, 2023 -
[pre-commit.ci] pre-commit autoupdate
#16724 opened
Jan 1, 2024
12 Issues closed by 3 people
-
MyPy forgets callable type guard in lambda in return statement of function with hinted return type
#15862 closed
Jan 4, 2024 -
Type inferred from assertion somehow gets lost in lambda expression
#4973 closed
Jan 4, 2024 -
Overload resolution fails with inline lambda
#6164 closed
Jan 4, 2024 -
Type narrowing not working with a lambda callback
#16743 closed
Jan 4, 2024 -
`TypeVar("T")` can be anything, unless a type guard hints at something else
#16742 closed
Jan 4, 2024 -
(🎁) `final` class without a `__bool__` or `__len__` method can never test false
#12158 closed
Jan 4, 2024 -
Inconsistency with overlaps for Literal[1] and int
#16740 closed
Jan 3, 2024 -
expression has type "Literal[-1]", variable has type "Literal[-1]"
#16727 closed
Jan 2, 2024 -
MyPy inaccurately reporting arg-type for Union of Literals
#16667 closed
Jan 2, 2024 -
Incorrect unreachable error
#16718 closed
Dec 31, 2023 -
Ignoring type annotations
#16714 closed
Dec 31, 2023
16 Issues opened by 13 people
-
TypeVarTuple equality checks not implemented
#16739 opened
Jan 3, 2024 -
Unexpected behavior with type narrowing and `Callable`
#16738 opened
Jan 2, 2024 -
Emit PEP 585 syntax from stubgen
#16737 opened
Jan 2, 2024 -
match: Incorrect "Incompatible types in capture pattern" when type has already been narrowed
#16736 opened
Jan 2, 2024 -
Keyword arguments to `__str__` are rejected
#16735 opened
Jan 2, 2024 -
Enforce conditional values are booleans
#16734 opened
Jan 2, 2024 -
Mypy incorrectly requires `__next__()` on the iterable of a `for` loop (regression from 0.942).
#16733 opened
Jan 2, 2024 -
Field of union needs to be different type when reading vs setting
#16732 opened
Jan 2, 2024 -
mypy treats enum fields as enum members
#16730 opened
Jan 2, 2024 -
Infer Literal type for + on literal
#16728 opened
Jan 2, 2024 -
Mypy should report why each possible overload doesn't match
#16725 opened
Jan 1, 2024 -
arguments list is empty if define __call__ as attribute of class
#16723 opened
Jan 1, 2024 -
Exhaustiveness checks (assert_never) don't work with 2-tuple of enums
#16722 opened
Jan 1, 2024 -
Support for Union[*TypeVarTuple]
#16720 opened
Dec 31, 2023 -
(🐞) `|` operator union assigned to a variable inferred as `_SpecialForm`, not `UnionType`
#16719 opened
Dec 31, 2023 -
Wrong test result for default values of Mapping arguments
#16716 opened
Dec 30, 2023
18 Unresolved conversations
Sometimes conversations happen on old items that aren’t yet closed. Here is a list of all the Issues and Pull Requests with unresolved conversations.
-
Type ignore comments erroneously marked as unused by dmypy
#15043 commented on
Jan 2, 2024 • 14 new comments -
False positive errors with anonymous and inline declaration of namedtuple types
#16660 commented on
Jan 2, 2024 • 4 new comments -
Support type stub generation for `staticmethod`
#14934 commented on
Jan 4, 2024 • 4 new comments -
cached runs of dmypy stop reporting "unused type: ignore" warnings
#9655 commented on
Jan 2, 2024 • 2 new comments -
Fix narrowing on match with function subject
#16503 commented on
Jan 3, 2024 • 1 new comment -
Narrow TypeVars in the negative case + narrow them through upper bounds
#15711 commented on
Jan 4, 2024 • 1 new comment -
Make str unpacking check opt-in
#15511 commented on
Jan 3, 2024 • 1 new comment -
Narrow TypeVar to bounded TypeVar
#15377 commented on
Jan 4, 2024 • 1 new comment -
Add Error format support, and JSON output option
#11396 commented on
Dec 28, 2023 • 1 new comment -
Incorrect explicit-override error when overriding dataclass `__post_init__`
#16293 commented on
Jan 3, 2024 • 1 new comment -
Incorrect behavior for functions with keyword-only arguments and **kwargs
#15317 commented on
Jan 2, 2024 • 1 new comment -
Support for PEP 695
#15238 commented on
Jan 2, 2024 • 1 new comment -
Value-Constrained TypeVar incorrectly narrowed down by isinstance checks
#10302 commented on
Dec 29, 2023 • 1 new comment -
dmypy fails to see errors after changing path
#16705 commented on
Dec 28, 2023 • 1 new comment -
Incompatible signature using `singledispatchmethod` in a subclass
#14742 commented on
Jan 3, 2024 • 0 new comments -
stubgen seems not able to handle a property deleter
#16690 commented on
Dec 31, 2023 • 0 new comments -
stubgen timeout on building docs on MacOS
#16183 commented on
Dec 31, 2023 • 0 new comments -
Crash when get_search_dirs called with `sys.path` containing non-ascii characters on Windows
#16669 commented on
Dec 29, 2023 • 0 new comments