Insights: python/mypy
Overview
Could not load contribution data
Please try again later
13 Pull requests merged by 9 people
-
Fall back to FORCE_COLOR environment variable if MYPY_FORCE_COLOR is not present
#13814 merged
Oct 4, 2022 -
Support package and module in config file
#13404 merged
Oct 4, 2022 -
Move an import to avoid cyclic imports
#13809 merged
Oct 4, 2022 -
Ignore promotions when simplifying unions
#13781 merged
Oct 3, 2022 -
Remove unnecessary comment line
#13793 merged
Oct 3, 2022 -
Fix module and protocol subtyping, module hasattr
#13778 merged
Oct 2, 2022 -
Fix one mypyc test case on Python 3.11
#13787 merged
Oct 1, 2022 -
Use a dedicated error code for abstract type object type error
#13785 merged
Oct 1, 2022 -
Restore Type vs Callable special-casing that was broken in refactoring
#13784 merged
Sep 30, 2022 -
DEP: Avoid using the deprecated `importlib.resources.path` function
#13783 merged
Sep 30, 2022 -
Add pip to install_requires
#13739 merged
Sep 30, 2022 -
Add test case for missing TypedDict TypeVar scope frame
#13764 merged
Sep 30, 2022 -
Preserve file order of messages during successive daemon runs
#13780 merged
Sep 30, 2022
8 Pull requests opened by 5 people
-
Process NameTuple and fix Union types using |
#13788 opened
Oct 1, 2022 -
Allow enabling individual experimental features
#13790 opened
Oct 2, 2022 -
Changed type in alias_type_in_runtime_context function
#13791 opened
Oct 3, 2022 -
Add new flag for warning about instantiating classes with declared but uninitialized attributes
#13797 opened
Oct 3, 2022 -
Make join of recursive types more robust
#13808 opened
Oct 4, 2022 -
Opt out from the managed dict for compiled classes on Python 3.11
#13830 opened
Oct 6, 2022 -
Sync typeshed
#13831 opened
Oct 7, 2022 -
Improve typeshed sync scripts
#13832 opened
Oct 7, 2022
33 Issues closed by 10 people
-
Nested NewType casting from super-supertype
#13827 closed
Oct 6, 2022 -
Subclass may unsoundly restrict an instance variable type
#13828 closed
Oct 6, 2022 -
`ParamSpec` does not consider substitution of `@overload`s
#13540 closed
Oct 6, 2022 -
Using TypeVar of Generic type Can Not Pass Strict Check
#13820 closed
Oct 6, 2022 -
Recurrent but not reproducible crash when writing to cache
#12475 closed
Oct 5, 2022 -
Support FORCE_COLOR in addition to MYPY_FORCE_COLOR
#13806 closed
Oct 4, 2022 -
Support package and module in config files
#10728 closed
Oct 4, 2022 -
jsonpatch regression in 0.982/1
#13813 closed
Oct 4, 2022 -
Undesirable import following behavior
#13773 closed
Oct 4, 2022 -
Hashable and None have overlapping type in mypy >= 0.981
#13805 closed
Oct 3, 2022 -
"'field' in typed_dict_union" discrimination
#13802 closed
Oct 3, 2022 -
100% single assignment variables
#13798 closed
Oct 3, 2022 -
Inner class attribute with type the inner class is an undefined name in pyi file
#13799 closed
Oct 3, 2022 -
Mypy was crashed if venv might be in same the root of project.
#13801 closed
Oct 3, 2022 -
follow_imports now working from module specific configuration
#13796 closed
Oct 3, 2022 -
mypy fails to narrow Union[float,int] to float after isinstance(x, float)
#6060 closed
Oct 3, 2022 -
Invalid handling type narrowing with inf/float due to duck typing
#12824 closed
Oct 3, 2022 -
mypy 0.981 does not simplify unions for assert_type
#13760 closed
Oct 3, 2022 -
modules as protocols doesn't type-check against the protocol
#13771 closed
Oct 2, 2022 -
Binder doesn't infer type restrictions for "parent" expressions
#5579 closed
Oct 1, 2022 -
Recursive types not working correctly
#13786 closed
Oct 1, 2022 -
A function returning TypeVar should receive at least one argument containing the same Typevar
#13765 closed
Oct 1, 2022 -
ambiguity on using union of type[generic type] and callable in mypy==0.981
#13756 closed
Sep 30, 2022 -
Don't require vcvarsall for running tests on Windows
#11189 closed
Sep 30, 2022 -
Mypy uses pip for --install-types but does not list pip in requirements
#13580 closed
Sep 30, 2022 -
destruct in pattern match seems to break exhaustiveness checking
#13782 closed
Sep 30, 2022 -
State of the Mypy cache makes check results unpredictable
#10221 closed
Sep 30, 2022 -
Use consistent order for messages from mypy daemon
#13141 closed
Sep 30, 2022 -
int | float ?= float inconsistency in Callable's return value ignores overlapping overloads
#13775 closed
Sep 30, 2022 -
Crash when assigning a field to a `Final` variable in a dataclass
#13772 closed
Sep 30, 2022 -
Internal error when handling generic class
#9448 closed
Sep 30, 2022 -
Mypy crash when @staticmethod has the same name as an attr
#6715 closed
Sep 30, 2022
21 Issues opened by 21 people
-
Allow accessing inner classes on instances for annotations
#13826 opened
Oct 6, 2022 -
Incremental crash with double re-exported alias used in function annotation
#13825 opened
Oct 6, 2022 -
Inconsistent MRO error when `__new__` returns a subclass and `--warn-unreachable` is turned on
#13824 opened
Oct 6, 2022 -
Allow string unpacking again.
#13823 opened
Oct 6, 2022 -
stubtest crash when a referenced module is a DLL
#13822 opened
Oct 5, 2022 -
mypy 0.982 run 15 minutes (previous version needs only one minute)
#13821 opened
Oct 5, 2022 -
Tests fail due to failing compilation of int_ops.c
#13819 opened
Oct 5, 2022 -
type checking of member assigned with lambda
#13818 opened
Oct 5, 2022 -
MYPY_FORCE_COLOR only colours output on Windows, not macOS/Ubuntu
#13817 opened
Oct 4, 2022 -
Destructured tuple discrimination
#13816 opened
Oct 4, 2022 -
Test and document `MYPY_FORCE_COLOR`/`FORCE_COLOR`
#13815 opened
Oct 4, 2022 -
Create a periodic workflow to sync typeshed
#13812 opened
Oct 4, 2022 -
Union not being recognized as types.UnionType
#13810 opened
Oct 4, 2022 -
Add support for control flow analysis of aliased conditions
#13807 opened
Oct 4, 2022 -
attrs match type narrowing failure
#13804 opened
Oct 3, 2022 -
`no-redef` when `import`-importing a module to satisfy a protocol
#13803 opened
Oct 3, 2022 -
Type Narrowing failure in 0.981
#13800 opened
Oct 3, 2022 -
Core dumped when using JSON.loads with a recursive type
#13795 opened
Oct 3, 2022 -
attrs: Inheritance breaks mypy type checking with optional attributes if Generics are involved
#13794 opened
Oct 3, 2022 -
Union[List[T], T] is not recognized by mypy
#13792 opened
Oct 3, 2022
24 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.
-
feat: warn about annotations in unannotated functions
#10748 commented on
Oct 2, 2022 • 4 new comments -
File shadowing with --follow-imports=skip can cause crashes in incremental and daemon mode
#6935 commented on
Sep 30, 2022 • 2 new comments -
stubgen and Cython modules
#7542 commented on
Oct 3, 2022 • 2 new comments -
Support for default types in TypedDict
#6131 commented on
Oct 4, 2022 • 2 new comments -
Support inferring dict literals to be a union of TypedDicts
#13274 commented on
Oct 5, 2022 • 2 new comments -
callable.__call__ leads to Callable is not callable
#5079 commented on
Oct 5, 2022 • 2 new comments -
ctypes.Structure and Iterable
#10272 commented on
Oct 6, 2022 • 2 new comments -
Alternative implementation of PEP 673
#13133 commented on
Oct 2, 2022 • 2 new comments -
Add error-code for `truthy-function`
#13686 commented on
Oct 2, 2022 • 2 new comments -
Fine-grained reacts poorly to missing core cache files
#4909 commented on
Sep 30, 2022 • 1 new comment -
crash with sqlalchemy2 stubs
#11902 commented on
Sep 30, 2022 • 1 new comment -
Extend `redundant-expr` to type narrowing assertions
#13766 commented on
Sep 30, 2022 • 1 new comment -
Recognize list of constant values as a list of str.
#13767 commented on
Sep 30, 2022 • 1 new comment -
TypedDict keys reuse?
#4128 commented on
Sep 30, 2022 • 1 new comment -
Use case for typing.Type with abstract types
#4717 commented on
Oct 1, 2022 • 1 new comment -
REGR: mypyc 0.971 seems to not handle keyword-only arguments when unpickling (and shallow copying)
#13227 commented on
Oct 1, 2022 • 1 new comment -
False negative when accessing annotated class attributes
#13103 commented on
Oct 3, 2022 • 1 new comment -
Niche Incorrect Handling Of Nested Async Functions
#13717 commented on
Oct 3, 2022 • 1 new comment -
Flag to make default return type `None` instead of `Any`
#9413 commented on
Oct 5, 2022 • 1 new comment -
dmypy ignores flags and config file
#12249 commented on
Oct 5, 2022 • 1 new comment -
Enhance `stubgen` to include types for `@dataclass` private methods
#9986 commented on
Oct 7, 2022 • 1 new comment -
TypedDict Nested Dictionaries?
#5149 commented on
Oct 7, 2022 • 1 new comment -
Add option to include docstrings with stubgen
#13284 commented on
Oct 5, 2022 • 1 new comment -
`--strict` is too strict to be useful
#7767 commented on
Oct 3, 2022 • 0 new comments

