-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Insights: python/mypy
Overview
Could not load contribution data
Please try again later
13 Pull requests merged by 8 people
-
Add missing lineno to
yield fromwith wrong type#18518 merged
Jan 23, 2025 -
Bump version to 1.16.0+dev
#18509 merged
Jan 23, 2025 -
Fix isinstance with explicit (non generic) type alias
#18512 merged
Jan 23, 2025 -
pytest options moved into pyproject.toml
#18501 merged
Jan 23, 2025 -
Hint at argument names when formatting callables with compatible return types in error messages
#18495 merged
Jan 22, 2025 -
Better names of and more compatibility between ad hoc intersections of instances
#18506 merged
Jan 22, 2025 -
[mypyc] Reduce impact of immortality on reference counting performance
#18459 merged
Jan 21, 2025 -
Infer correct types with overloads of
Type[Guard | Is]#17678 merged
Jan 21, 2025 -
Walk up for all config files and handle precedence
#18482 merged
Jan 20, 2025 -
[stubgen] Improve dataclass init signatures
#18430 merged
Jan 19, 2025 -
Document any TYPE_CHECKING name works
#18443 merged
Jan 19, 2025 -
Use a dict to keep track of TypedDict fields in semanal
#18369 merged
Jan 17, 2025 -
[mypyc] Fixing __init__ for classes with @attr.s(slots=True).
#18447 merged
Jan 17, 2025
10 Pull requests opened by 5 people
-
Use new Github actions ARM runners for tests
#18483 opened
Jan 17, 2025 -
Retain None (unreachable) when typemap is None with `type(x) is Foo` check
#18486 opened
Jan 18, 2025 -
[stubgen] Include simple decorators in stub files
#18489 opened
Jan 19, 2025 -
Disallow inline config of Python version
#18497 opened
Jan 21, 2025 -
Ignore overload impl when checking __OP__ and __rOP__ compatibility
#18502 opened
Jan 21, 2025 -
Consider property access from class objects in checkmember.py
#18504 opened
Jan 21, 2025 -
Support properties with setter type different from getter type
#18510 opened
Jan 22, 2025 -
Allow redefinitions in except/else/finally
#18515 opened
Jan 23, 2025 -
[mypyc] Calling tp_finalize from tp_dealloc.
#18519 opened
Jan 23, 2025 -
Improve inference in tuple multiplication plugin
#18521 opened
Jan 24, 2025
20 Issues closed by 7 people
-
(🎁) Support setter defined on subtype
#15654 closed
Jan 24, 2025 -
Missing line number for `yield from` an invalid type
#18517 closed
Jan 23, 2025 -
reveal_type not run in "unreachable" branches
#18423 closed
Jan 23, 2025 -
[regression] isinstance complains about parametrized generics with any use of TypeAlias
#18488 closed
Jan 23, 2025 -
None-ness falsely assumed in loop
#11430 closed
Jan 22, 2025 -
mypy thinks variable is None even if assigned non-None value inside loop
#11900 closed
Jan 22, 2025 -
error: Right operand of "or" is never evaluated - although it is evaluated at some point
#14120 closed
Jan 22, 2025 -
Detect bool expressions assigned to int variables
#18500 closed
Jan 22, 2025 -
Misleading error message when using ParamSpec with higher-order decorators and async functions
#18493 closed
Jan 22, 2025 -
Mypyc KeyError: mypy.nodes.MemberExpr
#17794 closed
Jan 22, 2025 -
False-positive "Overloaded function signatures overlap with incompatible return types"
#14770 closed
Jan 22, 2025 -
Cannot access custom property of union type
#9053 closed
Jan 21, 2025 -
mypy thinks properties on a class (not an instance) are callable
#18490 closed
Jan 21, 2025 -
Overloads not resolved correctly when argument is `Any` and return types use `TypeGuard` or `TypeIs`
#17579 closed
Jan 21, 2025 -
Implement monorepo-friendly mypy.ini discovery rule
#16070 closed
Jan 20, 2025 -
`mypy` does not infer that a string `Literal` is a `str` in the context of a `dict` or `Mapping`
#18494 closed
Jan 20, 2025 -
False positive when using `Self` as the return type with multiple base classes
#17704 closed
Jan 19, 2025 -
mypy does not automatically install types-seaborn despite package being in typeshed
#18485 closed
Jan 19, 2025 -
`types-setuptools`'s `distutils-stubs` is ignored in favor of `stdlib/distutils`
#18484 closed
Jan 18, 2025 -
Docs for `--install-types` do not explain `no mypy cache directory` error
#10863 closed
Jan 17, 2025
16 Issues opened by 14 people
-
incorrect end column for unreachable if statements
#18522 opened
Jan 24, 2025 -
structurally equivalent namedtuples can confuse mypy in unions in some cases
#18520 opened
Jan 23, 2025 -
Make each assignment to define a distinct variable with independent type
#18516 opened
Jan 23, 2025 -
Redefinition doesn't work in `else` branch of `try`
#18514 opened
Jan 23, 2025 -
Decorating `__init__()` with a class decorator is not supported
#18513 opened
Jan 23, 2025 -
mypy duplicates `reveal_type` notes with partial types
#18511 opened
Jan 22, 2025 -
Make it possible to obtain non-type arguments in type analyze plugin hooks
#18508 opened
Jan 22, 2025 -
Mypy hangs on recursive `type` keyword in combination with an unresolved type name
#18505 opened
Jan 22, 2025 -
TypeVar in higher order decorator with type alias not resolved properly
#18503 opened
Jan 21, 2025 -
Arithmetic operarators are not available in methods of generic classes
#18499 opened
Jan 21, 2025 -
Different overlap checking between `__mul__` and `__rmul__`
#18498 opened
Jan 21, 2025 -
mypy infers `Any` for numpy 2.2.2. expressions that worked with 2.2.1
#18496 opened
Jan 21, 2025 -
False narrowing with repeated assignment inside if resulting in bad false negative
#18492 opened
Jan 20, 2025 -
Enum `_ignore_`'d names and private names are treated like normal members
#18491 opened
Jan 20, 2025 -
1.15 Release Tracking Issue
#18487 opened
Jan 19, 2025
22 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.
-
PEP 702 (@deprecated): "normal" overloaded methods
#18477 commented on
Jan 20, 2025 • 12 new comments -
Fix typos discovered by codespell
#18387 commented on
Jan 21, 2025 • 2 new comments -
Fix: Handle Trailing Commas and Empty Strings in File Paths
#18472 commented on
Jan 17, 2025 • 0 new comments -
Introduce temporary named expressions for `match` subjects
#18446 commented on
Jan 20, 2025 • 0 new comments -
Allow passing a callable with type vars in self types
#18401 commented on
Jan 21, 2025 • 0 new comments -
Implement support for "mypy: ignore" comments
#17875 commented on
Jan 21, 2025 • 0 new comments -
Improve match statement union narrowing/inference
#17600 commented on
Jan 22, 2025 • 0 new comments -
Mypy Self Checking Should Enable --warn-unreachable
#18079 commented on
Jan 24, 2025 • 0 new comments -
warn-unreachable behaves differently on else-return than on bare return
#10773 commented on
Jan 24, 2025 • 0 new comments -
Connection to TypeVar bound to Union is lost after returning Self from method
#16826 commented on
Jan 23, 2025 • 0 new comments -
Infer union from conditional definition in if statement
#6233 commented on
Jan 23, 2025 • 0 new comments -
Allow variable redefinition if lifetimes don't overlap
#6232 commented on
Jan 23, 2025 • 0 new comments -
False positive `unreachable` when variable is set and reset inside loop
#14987 commented on
Jan 23, 2025 • 0 new comments -
Issues related to numpy
#18343 commented on
Jan 21, 2025 • 0 new comments -
Annotating the decorator with arguments that works for both sync/async methods
#17172 commented on
Jan 21, 2025 • 0 new comments -
Inline configuration for a newer Python version crashes for union syntax on types (PEP 604)
#18450 commented on
Jan 21, 2025 • 0 new comments -
TypedDict does not support type refinement in subclasses
#7435 commented on
Jan 19, 2025 • 0 new comments -
internal server error - dmypy daemon crashed
#18396 commented on
Jan 19, 2025 • 0 new comments -
Mypy rolls back to broader type after assert isinstance
#14536 commented on
Jan 18, 2025 • 0 new comments -
Dict's .get() method doesn't limit possible types of the given element
#12457 commented on
Jan 18, 2025 • 0 new comments -
mypy.ini parsing trailing comma causes duplicate module error
#11171 commented on
Jan 17, 2025 • 0 new comments -
False-positive type errors when passing **kwargs to a function that has other keyword args
#18481 commented on
Jan 17, 2025 • 0 new comments