-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Insights: python/mypy
Overview
12 Pull requests merged by 9 people
-
Add a few more tests for mypyc_attr native_class (dunder methods and metaclasses)
#18999 merged
May 2, 2025 -
[mypyc] Refactor IR building for generator functions
#19008 merged
May 2, 2025 -
dmypy suggest can now suggest through contextmanager-based decorators
#18948 merged
May 2, 2025 -
Type alias stubgen fix
#18960 merged
May 1, 2025 -
Check superclass compatibility of untyped methods if
--check-untyped-defs
is set#18970 merged
May 1, 2025 -
Bug fix of __r<magic_methods>__ being used under the same __<magic_method>__ hook
#18995 merged
May 1, 2025 -
support for
strict_bytes
in stubtest#19002 merged
May 1, 2025 -
Prioritize
.pyi
from-stubs
packages over bundled.pyi
#19001 merged
May 1, 2025 -
Do not narrow types to Never with binder
#18972 merged
Apr 30, 2025 -
Local forward refs should precede global forward refs
#19000 merged
Apr 30, 2025 -
Add missing branch for
is_subtype(TypeType, Overload)
#18975 merged
Apr 26, 2025 -
Fix typo in testPropertySetterDecorated
#18946 merged
Apr 26, 2025
10 Pull requests opened by 8 people
-
Extend special-case for context-based typevar inference in return position to typevar unions
#18976 opened
Apr 26, 2025 -
stubgen: infer types for class attributes
#18978 opened
Apr 27, 2025 -
Add `dmypy watch` command
#18985 opened
Apr 27, 2025 -
Prefer "own" type vars (owned by current function) when building "any of" constraints
#18986 opened
Apr 28, 2025 -
Missing args callable
#18990 opened
Apr 28, 2025 -
Attempt to fix Distribute Tuple False Positive bug
#19005 opened
Apr 30, 2025 -
extended error messages for unnarrowed unions
#19007 opened
Apr 30, 2025 -
Refactor: modularize long methods in Options and checkexpr
#19010 opened
May 1, 2025 -
Refactor: extract logic in Options.__init__ into helper methods
#19011 opened
May 1, 2025 -
[mypyc] Show the reason why a class can't be a native class
#19016 opened
May 2, 2025
18 Issues closed by 12 people
-
Conditional import of a class follows imports of all branches
#19009 closed
May 1, 2025 -
stubgen does not handle TypeAlias
#18905 closed
May 1, 2025 -
A way to prevent MyPy from implictly checking the __r<magic method>__
#18945 closed
May 1, 2025 -
stubtest ignores `strict_bytes = true` in `pyproject.toml` 1.15.0
#18744 closed
May 1, 2025 -
mypy --show-traceback --show-error-codes src/ tests/ failing
#19004 closed
May 1, 2025 -
PEP 561 stub packages should take precedence over bundled `.pyi` stubs
#18997 closed
May 1, 2025 -
Internal error when running check-classes.test with pytest
#18994 closed
Apr 30, 2025 -
mypy thinks value is `<nothing>` when it isn't
#15793 closed
Apr 30, 2025 -
isinstance erases type info
#12949 closed
Apr 30, 2025 -
Change of binder behavior whan narrowing to unrelated type
#18967 closed
Apr 30, 2025 -
Regression related to forward reference and nested classes
#18988 closed
Apr 30, 2025 -
Combining `@dataclass` and `NamedTuple` leads to crash in Python 3.13+
#18982 closed
Apr 27, 2025 -
Support `TypeIs[Protocol]`
#18981 closed
Apr 27, 2025 -
Unable to annotate generic class member of generic class
#18979 closed
Apr 27, 2025 -
Mypy doesn't show errors when base method has `*args: Any` or `**kwargs: Any`
#18980 closed
Apr 27, 2025 -
Config file at ~/.mypy.ini is not used
#18977 closed
Apr 27, 2025 -
``Expression is of type "type[int]", not "type[int]"`` when using `assert_type` and `TypeAlias`
#18974 closed
Apr 26, 2025
15 Issues opened by 15 people
-
`kw_only` dataclass fields confuse mypy on argument order
#19017 opened
May 2, 2025 -
TYPE_CHECKING overload with implementation just outside flags second usage, but not first
#19015 opened
May 2, 2025 -
`sqlalchemy.ext.mypy.plugin` causes internal error
#19014 opened
May 2, 2025 -
Support file-level assertions as inline configuration
#19013 opened
May 1, 2025 -
`--exclude` regular expression leading "/" does not match in current directory
#19012 opened
May 1, 2025 -
Incorrect type inference with `__radd__` with subclass of `tuple[int, ...]`
#19006 opened
Apr 30, 2025 -
Overloaded `__init__` prevents type from being recognized as an attrs class
#19003 opened
Apr 30, 2025 -
Crash with Generic Class and Dict
#18996 opened
Apr 29, 2025 -
lru_cache classmethod: variable has type "Self" after assignment
#18993 opened
Apr 28, 2025 -
Mypyc produces module that crashes (segmentation fault) when executed
#18992 opened
Apr 28, 2025 -
Recent performance regressions
#18991 opened
Apr 28, 2025 -
Mypy doesn't recognize `@staticmethod`-like decorator
#18989 opened
Apr 28, 2025 -
Non-inline `__init_subclass__` definition not recognized, despite giving type hints.
#18987 opened
Apr 28, 2025 -
attrs plugin does not support generic type
#18973 opened
Apr 26, 2025 -
Automatically detect when uv is being used
#18971 opened
Apr 26, 2025
23 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.
-
Use checkmember.py to check protocol subtyping
#18943 commented on
Apr 30, 2025 • 9 new comments -
Add special support for `@django.cached_property` needed in `django-stubs`
#18959 commented on
May 2, 2025 • 4 new comments -
Make infer_condition_value recognize the whole truth table
#18944 commented on
May 2, 2025 • 2 new comments -
NoneType handling for str.format() with specifiers
#18952 commented on
May 2, 2025 • 1 new comment -
Consider property access from class objects (now for real)
#18969 commented on
Apr 26, 2025 • 0 new comments -
Fix `dmypy suggest` interaction with `__new__`
#18966 commented on
May 1, 2025 • 0 new comments -
Support several more constructs in stubgen's AliasPrinter
#18888 commented on
May 1, 2025 • 0 new comments -
[PEP 747] Recognize TypeForm[T] type and values (#9773)
#18690 commented on
Apr 28, 2025 • 0 new comments -
Attributes without a default cannot follow attributes with one
#17731 commented on
May 2, 2025 • 0 new comments -
No `TypeVar` variable inference in ternary operators
#18817 commented on
May 1, 2025 • 0 new comments -
`Self` not accepted when used with a `dataclass`
#18920 commented on
May 1, 2025 • 0 new comments -
(🐞) `files` set in config file causes command `-c` mode to not work
#15632 commented on
May 1, 2025 • 0 new comments -
Type checking fails to distribute across Tuple types
#18922 commented on
Apr 30, 2025 • 0 new comments -
1.16 Release Planning
#18739 commented on
Apr 30, 2025 • 0 new comments -
Inference of Any against optional type infers Never
#8829 commented on
Apr 30, 2025 • 0 new comments -
Explicit Variables Warning Issue
#18927 commented on
Apr 29, 2025 • 0 new comments -
Issues related to numpy
#18343 commented on
Apr 29, 2025 • 0 new comments -
Update PEP 561 examples with modern packaging
#13901 commented on
Apr 29, 2025 • 0 new comments -
Support infer_variance= parameter for TypeVar (PEP 695)
#17811 commented on
Apr 28, 2025 • 0 new comments -
Mypy is expecting `type[Never]` in context when it shouldn't
#18968 commented on
Apr 28, 2025 • 0 new comments -
Detect impossible unpacking?
#18783 commented on
Apr 28, 2025 • 0 new comments -
wrongly reported typing error in `min` with `key` lambda function and default value when result is Optional
#17221 commented on
Apr 26, 2025 • 0 new comments -
dmypy suggest should not suggest for abstract methods?
#18965 commented on
Apr 26, 2025 • 0 new comments