Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.9k
Insights: python/mypy
Overview
Could not load contribution data
Please try again later
6 Pull requests merged by5 people
- Forbid
.pop
ofReadonly
NotRequired
TypedDict items#19133 merged
May 23, 2025 - stubgen: add import for types in __exit__ method signature
#19120 merged
May 21, 2025 - syntax error messages capitalization
#19114 merged
May 20, 2025 - stubgenc: add support for including class and property docstrings
#17964 merged
May 20, 2025 - Emit a friendlier warning on invalid exclude regex, instead of a stacktrace
#19102 merged
May 19, 2025 - Support several more constructs in stubgen's AliasPrinter
#18888 merged
May 19, 2025
16 Pull requests opened by12 people
- feat: mypyc weakref_ops.py
#19099 opened
May 16, 2025 - Include tuple fallback in constraints built from tuple types
#19100 opened
May 17, 2025 - Split import-untyped into import-untyped and import-untyped-stubs-available
#19101 opened
May 17, 2025 - Mention in the Any documentation how object is preferable
#19103 opened
May 17, 2025 - Fix/attrs init overload
#19104 opened
May 18, 2025 - Use normalized tuples for fallback calculation
#19111 opened
May 19, 2025 - Display FQN for imported base classes in errors about incompatible ov…
#19115 opened
May 19, 2025 - Bump setuptools from 75.8.0 to 78.1.1
#19116 opened
May 19, 2025 - enable --pretty by default
#19122 opened
May 21, 2025 - Fix example to use correct method of Stack
#19123 opened
May 21, 2025 - [mypyc] Refactor extension module C generation and generated C
#19126 opened
May 21, 2025 - [mypyc] Fix incref/decref on free-threaded builds
#19127 opened
May 21, 2025 - Add config key to extend config files
#19135 opened
May 23, 2025 - Add changelog for 1.16
#19138 opened
May 23, 2025
11 Issues closed by7 people
- Mypy fails on external libraries
#19131 closed
May 23, 2025 - Mypy treats the overload object as an implementation of an abstract method
#19137 closed
May 23, 2025 - False negative: popping a ReadOnly key from a TypedDict
#19130 closed
May 23, 2025 - Mypy doesn't catch renaming arguments in overrides
#19132 closed
May 22, 2025 - Stubgen generates reference to `types.TracebackType` without importing `types`
#17037 closed
May 21, 2025 - Ensure syntax error messages are capitalized
#19107 closed
May 20, 2025 - @cache breaks type checking when used with @classmethod and typing.Self
#19117 closed
May 20, 2025 - False narrowing with repeated assignment inside if resulting in bad false negative
#18492 closed
May 19, 2025 - Stubgen crashes on dataclass field
#18886 closed
May 19, 2025 - Return type of unbound methods of generic types incorrectly inferred.
#13835 closed
May 19, 2025 - Editable install fails with ImportError (unknown location) on Windows 10 outside of venv
#19089 closed
May 17, 2025
15 Issues opened by11 people
- Unexpected failure of union type to unify with generic type with value restriction
#19141 opened
May 23, 2025 - Unpack generic tuple with no args not working
#19140 opened
May 23, 2025 - Regression in 1.16 on DataclassInstance?
#19139 opened
May 23, 2025 - mypy not raising error on inexhaustive case/match statements in strict mode
#19136 opened
May 23, 2025 - Conditionally excluding backward incompatible syntax based on python version
#19134 opened
May 22, 2025 - MYPYPATH directory used even if no __init__.py
#19129 opened
May 22, 2025 - Preliminary test on type not detected, leading to false error
#19124 opened
May 21, 2025 - Nondeterministic type checking on pytorch/vision
#19121 opened
May 20, 2025 - Show more context about the base class on incompatible override
#19112 opened
May 19, 2025 - Empty variadic `tuple` subtype not assignable to `tuple[int, ...]`
#19110 opened
May 18, 2025 - `tuple[Any, *tuple[Any, ...]]` is not assignable to other tuple types
#19109 opened
May 18, 2025 - Enable --pretty by default
#19108 opened
May 18, 2025 - incorrect inference of user-defined variadic tuple subtype instances
#19106 opened
May 18, 2025 - `class S(tuple[*tuple[()]])` crashes mypy
#19105 opened
May 18, 2025
29 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.
- Narrow literals in the negative case even with custom equality
#18574 commented on
May 22, 2025 • 2 new comments - feat(mypyc): proper weakref support
#19056 commented on
May 16, 2025 • 1 new comment - Add support for Pydantic models in `stubgen`
#19095 commented on
May 20, 2025 • 0 new comments - Remove last unreachable block from mypyc code
#19086 commented on
May 17, 2025 • 0 new comments - feat(test): Failure test case for mypyc dictionary subclass views
#19076 commented on
May 17, 2025 • 0 new comments - Add warn-unreachable to strict mode
#19047 commented on
May 17, 2025 • 0 new comments - Use checkmember.py to check protocol subtyping
#18943 commented on
May 19, 2025 • 0 new comments - Sync typeshed
#18930 commented on
May 19, 2025 • 0 new comments - Add support for literal addition
#18004 commented on
May 19, 2025 • 0 new comments - Support narrowing literals and enums using the in operator in combination with list, set, and tuple expressions.
#17044 commented on
May 23, 2025 • 0 new comments - 1.16 Release Planning
#18739 commented on
May 23, 2025 • 0 new comments - (🐞) `overload`s that exhaust finite `Literal`s(`bool`/`Enum`) not treated as exhaustive
#14764 commented on
May 23, 2025 • 0 new comments - stubgen: mangles from _typeshed import Incomplete
#16658 commented on
May 22, 2025 • 0 new comments - MyPy 0.750 slow startup (or hang) on macOS
#8055 commented on
May 22, 2025 • 0 new comments - Optional error code to flag missing return type when an argument has an annotation
#15127 commented on
May 20, 2025 • 0 new comments - Type narrowing for tuple worse with match than with the equivalent instanceof check
#19082 commented on
May 20, 2025 • 0 new comments - `issubclass()` assertions not narrowing types
#10680 commented on
May 20, 2025 • 0 new comments - Wrong type inference with "yield from" from an Iterator class
#17449 commented on
May 19, 2025 • 0 new comments - Use case for typing.Type with abstract types
#4717 commented on
May 19, 2025 • 0 new comments - Failed to find exact letter case of module name when relative import on Windows OS
#18445 commented on
May 19, 2025 • 0 new comments - errors in other files are reported when running mypy on a file with lowercase drive letter
#18590 commented on
May 19, 2025 • 0 new comments - Argument 1 to `type_check_only` has incompatible type `type[S[T, *Ts]]`; expected `type[S[T, *Ts]]`
#19093 commented on
May 19, 2025 • 0 new comments - Overloaded `__init__` prevents type from being recognized as an attrs class
#19003 commented on
May 18, 2025 • 0 new comments - Support file-level assertions as inline configuration
#19013 commented on
May 17, 2025 • 0 new comments - Fails to flag `None` passed to constructor of `enum.Enum`-based classes
#19094 commented on
May 17, 2025 • 0 new comments - `--exclude` regular expression leading "/" does not match in current directory
#19012 commented on
May 17, 2025 • 0 new comments - Odd error message for invalid use of tuple(): expected "Iterable[Never]"
#19098 commented on
May 17, 2025 • 0 new comments - Consider merging command line flags and configuration file options descriptions
#12347 commented on
May 17, 2025 • 0 new comments - Limited inference with union of callables and assignment to a union
#18191 commented on
May 17, 2025 • 0 new comments