-
-
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
8 Pull requests merged by 6 people
-
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 -
stubgen: Don't generate
Incomplete | None = None
argument annotation#19097 merged
May 16, 2025 -
Update dmypy/client.py: Enable ANSI color codes for windows cmd
#19088 merged
May 15, 2025 -
Extend special case for context-based typevar inference to typevar unions in return position
#18976 merged
May 15, 2025
15 Pull requests opened by 12 people
-
Add support for Pydantic models in `stubgen`
#19095 opened
May 16, 2025 -
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 -
[WIP] Enhance check_for_missing_annotations for None return type, giving unannotated arg name in err msg
#19125 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
22 Issues closed by 7 people
-
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 -
stubgen: Don't generate `Incomplete | None = None`
#19096 closed
May 16, 2025 -
AssertionError: Internal error: unresolved placeholder type
#19078 closed
May 16, 2025 -
Arguments annotated with typevars cannot have defaults
#19092 closed
May 16, 2025 -
False positive for lambda within a function
#10426 closed
May 15, 2025 -
Typechecking differs between one-line def of "return expr" vs. "r = expr; return r"
#11985 closed
May 15, 2025 -
Unneeded type widening of inner function call when using explicit return type
#12092 closed
May 15, 2025 -
False "Invalid index type" for min derived from return type
#14664 closed
May 15, 2025 -
Inference failure in `return` statement with `next` and `or`
#15755 closed
May 15, 2025 -
itertools' `all_equal` recipe causes false arg-type failures
#15150 closed
May 15, 2025 -
Type inference for `max()` "tainted" by `default`
#16267 closed
May 15, 2025 -
(🐞) generics not resolving correctly when multiple `TypeVar`s don't meet the expected type
#17553 closed
May 15, 2025 -
min()/max() with default value cause issues with key function type
#17536 closed
May 15, 2025 -
[arg-type] wrong argument type in generic function with union
#17654 closed
May 15, 2025 -
wrongly reported typing error in `min` with `key` lambda function and default value when result is Optional
#17221 closed
May 15, 2025
16 Issues opened by 11 people
-
Mypy fails on external libraries
#19131 opened
May 22, 2025 -
False negative: popping a ReadOnly key from a TypedDict
#19130 opened
May 22, 2025 -
MYPYPATH directory used even if no __init__.py
#19129 opened
May 22, 2025 -
"An implementation for an overloaded function is not allowed in a stub file" for overloaded type hint
#19128 opened
May 21, 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 -
Odd error message for invalid use of tuple(): expected "Iterable[Never]"
#19098 opened
May 16, 2025 -
Fails to flag `None` passed to constructor of `enum.Enum`-based classes
#19094 opened
May 16, 2025 -
Argument 1 to `type_check_only` has incompatible type `type[S[T, *Ts]]`; expected `type[S[T, *Ts]]`
#19093 opened
May 16, 2025 -
Cannot combine iterables of Callable classes
#19091 opened
May 15, 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 -
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 -
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 -
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 -
`--exclude` regular expression leading "/" does not match in current directory
#19012 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 -
Inconsistent behavior: MyPy rejects isinstance with Any, but accepts cast from Any for ignored imports
#17844 commented on
May 16, 2025 • 0 new comments -
Base {} Dict Should Infer from Function Return Type
#18700 commented on
May 16, 2025 • 0 new comments -
`mypy` should use `List` when complaining about issues with the `List` type, instead of `list`
#18530 commented on
May 16, 2025 • 0 new comments -
Add "<function> defined here" notes to more errors
#4773 commented on
May 16, 2025 • 0 new comments -
Class scope name resolution issue
#9991 commented on
May 16, 2025 • 0 new comments -
Type checking fails to distribute across Tuple types
#18922 commented on
May 15, 2025 • 0 new comments -
Replace uses of type variable "value restriction" with "constraints"
#17828 commented on
May 15, 2025 • 0 new comments -
[docs]: The "Edit Page" button is not visible in the documentation for the stable branch.
#17947 commented on
May 15, 2025 • 0 new comments -
1.10.1: pytest fails in
#17428 commented on
May 15, 2025 • 0 new comments