-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Insights: python/mypy
Overview
Could not load contribution data
Please try again later
22 Pull requests merged by 10 people
-
PEP 702 (@deprecated): improve the handling of explicit type annotations of assignment statements
#17899 merged
Oct 11, 2024 -
fix crash issue when using shadowfile with pretty #17853
#17894 merged
Oct 11, 2024 -
[PEP 695] Fix multiple nested classes don't work
#17820 merged
Oct 11, 2024 -
Add latest 1.12 changes to changelog
#17921 merged
Oct 11, 2024 -
Remove debug build for now
#17917 merged
Oct 11, 2024 -
Better error for
mypy -p package
without py.typed#17908 merged
Oct 10, 2024 -
Fix union callees with functools.partial
#17903 merged
Oct 9, 2024 -
[mypyc] Add "runtests.py mypyc-fast" for running fast mypyc tests
#17906 merged
Oct 9, 2024 -
Emit error for "raise NotImplemented"
#17890 merged
Oct 9, 2024 -
Document ReadOnly (PEP 705)
#17905 merged
Oct 9, 2024 -
Make ReadOnly TypedDict items covariant
#17904 merged
Oct 9, 2024 -
documentation for TypeIs
#17821 merged
Oct 9, 2024 -
Improvements to functools.partial of types
#17898 merged
Oct 9, 2024 -
Use 3.13.0 for ci tests
#17900 merged
Oct 8, 2024 -
stubtest: Stop telling people to use double underscores
#17897 merged
Oct 8, 2024 -
Add changelog for mypy 1.12
#17889 merged
Oct 8, 2024 -
Add Python 3.13 to classifiers
#17891 merged
Oct 8, 2024 -
Add basic support for PEP 702 (@deprecated).
#17476 merged
Oct 6, 2024 -
[mypyc] Make C unit tests faster by compiling with -O0
#17884 merged
Oct 6, 2024 -
Add is_lvalue attribute to AttributeContext
#17881 merged
Oct 6, 2024 -
Fix re-processing cross-reference when node kind changes
#17883 merged
Oct 6, 2024 -
Include CHANGELOG.md in sdists
#17882 merged
Oct 6, 2024
8 Pull requests opened by 8 people
-
[mypyc] Optimize calls to final classes
#17886 opened
Oct 6, 2024 -
Add a todo comment inline for issue #17857
#17888 opened
Oct 7, 2024 -
Sketch implementation of "optional-non-truthy" check for `if x` with `x: None | str`
#17893 opened
Oct 7, 2024 -
fix: make pre_commit installable via test-requirements.txt
#17911 opened
Oct 10, 2024 -
Significantly speed up file handling error paths
#17920 opened
Oct 11, 2024 -
[mypyc] Support ellipsis (...) expressions in class bodies
#17923 opened
Oct 11, 2024 -
Better handling of generic functions in partial plugin
#17925 opened
Oct 11, 2024 -
PEP 702 (@deprecated): consider type hints in function signatures
#17926 opened
Oct 11, 2024
18 Issues closed by 7 people
-
Crash in `--pretty` mode with `--shadow-file` which shadows a shorter file
#17853 closed
Oct 11, 2024 -
[PEP 695] Multiple nested classes don't work
#17780 closed
Oct 11, 2024 -
Mypy see invalid syntax about valid syntax in recent Python version
#17914 closed
Oct 11, 2024 -
False Positive during fixed variable pairs
#17913 closed
Oct 11, 2024 -
"Can't find package" error when package is installed but missing a py.typed file
#17048 closed
Oct 10, 2024 -
Union between a callable and a type not respected by functools.partial
#17741 closed
Oct 9, 2024 -
mypy thinks `raise NotImplemented` is okay
#5710 closed
Oct 9, 2024 -
ReadOnly TypedDict items should be treated as covariant
#17901 closed
Oct 9, 2024 -
Document TypeIs
#17156 closed
Oct 9, 2024 -
type[A] cannot be instantiated via partial if A is abstract
#17556 closed
Oct 9, 2024 -
1.11 Regression: `Self` in classmethod causes "type[Self] not callable" error
#17659 closed
Oct 9, 2024 -
Passing kwargs to partial functions via dict extraction is not properly recognized with v1.11.0
#17569 closed
Oct 8, 2024 -
TypedDict Generic Inheritance doesnt seem to work as expected
#17887 closed
Oct 7, 2024 -
Reject method/function object used as a condition
#2073 closed
Oct 7, 2024 -
decorator does not recognize inherited class
#17885 closed
Oct 7, 2024 -
Add support for PEP 702 (`@deprecated`)
#16111 closed
Oct 6, 2024 -
mypy plugin "get_attribute_hook" called for assignment
#17878 closed
Oct 6, 2024 -
Please restore the inclusion of the CHANGELOG.md in the sdist
#17880 closed
Oct 6, 2024
14 Issues opened by 9 people
-
Lazily process installed packages
#17924 opened
Oct 11, 2024 -
Tests won't run on Windows. FileNotFoundError: [WinError 2] The system cannot find the file specified.
#17922 opened
Oct 11, 2024 -
mypy is slow when type checking torch
#17919 opened
Oct 11, 2024 -
mypy tries to infer the type parameters of a generic class even if they are explicitly given
#17916 opened
Oct 10, 2024 -
itertools.chain returns object when using iterators of different types
#17915 opened
Oct 10, 2024 -
Issues with popular third-party packages (meta)
#17912 opened
Oct 10, 2024 -
no error when `TypeVar` with explicit variance is used in the wrong position when it's part of a union
#17910 opened
Oct 10, 2024 -
False positive list comprehension for union type source iterable
#17907 opened
Oct 9, 2024 -
pre-commit not installed via test-requirements.txt
#17902 opened
Oct 9, 2024 -
Disable comparison overlap checks in assert statements
#17896 opened
Oct 8, 2024 -
Opt-in error for `if x:` when `x: None | int` or `None | str` etc.
#17892 opened
Oct 7, 2024
27 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 narrowing for dict.get("key") is not None
#14766 commented on
Oct 6, 2024 • 0 new comments -
Reassigning `type` fails to typecheck
#17863 commented on
Oct 6, 2024 • 0 new comments -
Join computed suboptimally with multiple inheritance
#4373 commented on
Oct 6, 2024 • 0 new comments -
overload with wrong return type is ignored
#17857 commented on
Oct 7, 2024 • 0 new comments -
Document how to declare dependant types in method signatures
#8662 commented on
Oct 7, 2024 • 0 new comments -
Dataclasses: `No overload variant of "asdict" matches argument type "Self" [call-overload]` when deciding decorator conditionally
#17242 commented on
Oct 7, 2024 • 0 new comments -
MyPy fails to check `TypedDict.update` call with only explicit keyword arguments
#17750 commented on
Oct 8, 2024 • 0 new comments -
Mypy crashes when using `reveal_type` on large literal int
#17534 commented on
Oct 8, 2024 • 0 new comments -
False positive - Type narrowing of class attributes
#17537 commented on
Oct 8, 2024 • 0 new comments -
`functools.partial` plugin is only triggered on calls
#17620 commented on
Oct 9, 2024 • 0 new comments -
Unintuitive behaviour when only subpackage provides py.typed
#16149 commented on
Oct 10, 2024 • 0 new comments -
Cryptic error message for two generic callables with different variable binding
#17551 commented on
Oct 10, 2024 • 0 new comments -
Type not narrowed correctly for `if X in collection`
#3229 commented on
Oct 10, 2024 • 0 new comments -
1.12 Release Tracking Issue
#17815 commented on
Oct 11, 2024 • 0 new comments -
Warn that annotations could be if TYPE_CHECKING
#11129 commented on
Oct 11, 2024 • 0 new comments -
Imports that shadow names cannot be made to type-check
#16972 commented on
Oct 12, 2024 • 0 new comments -
If Callable type is incompatible with a callable protocol, show signature of __call__
#17840 commented on
Oct 12, 2024 • 0 new comments -
Wrong type inference with "yield from" from an Iterator class
#17449 commented on
Oct 12, 2024 • 0 new comments -
Allow self binding for generic ParamSpec
#17123 commented on
Oct 8, 2024 • 0 new comments -
Fix TypeIs for types with type params in Unions
#17232 commented on
Oct 11, 2024 • 0 new comments -
Add `--strict-bool` flag to prohib treating `bool` as `int`
#17487 commented on
Oct 9, 2024 • 0 new comments -
Drop support for running with Python 3.8
#17492 commented on
Oct 10, 2024 • 0 new comments -
Add GitHub annotations format for `--output`
#17771 commented on
Oct 8, 2024 • 0 new comments -
Add special handling for typing.get_args
#17784 commented on
Oct 9, 2024 • 0 new comments -
Actually test a debug build
#17822 commented on
Oct 11, 2024 • 0 new comments -
Fixes issue #17840 (shows signature of __call__ for incompatible function argument)
#17872 commented on
Oct 8, 2024 • 0 new comments -
Implement support for "mypy: ignore" comments
#17875 commented on
Oct 7, 2024 • 0 new comments