-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Issues: python/mypy
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author
Label
Projects
Milestones
Assignee
Sort
Issues list
Inferring an optional type when first initializer uses non-optional type
false-positive
mypy gave an error on correct code
feature
needs discussion
priority-0-high
topic-inference
When to infer types or require explicit annotations
#1735
opened Jun 22, 2016 by
JukkaL
[Bug] Using mypy got something wrong
topic-inference
When to infer types or require explicit annotations
topic-join-v-union
Using join vs. using unions
filter
in itertools.chain
makes them both infer wrong types.
bug
#8226
opened Jan 1, 2020 by
Jackenmen
"Cannot determine type" if first assignment to attribute is unreachable
bug
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
topic-reachability
Detecting unreachable code
#9709
opened Nov 9, 2020 by
mthuurne
Mypy can't infer parameter types for nested function calls.
topic-inference
When to infer types or require explicit annotations
#8666
opened Apr 13, 2020 by
MSK61
error: Right operand of "or" is never evaluated - although it is evaluated at some point
bug
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
topic-reachability
Detecting unreachable code
topic-strict-optional
#14120
opened Nov 17, 2022 by
pcustic
Typing information lost while calling __iter__
bug
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
topic-literal-types
#12446
opened Mar 25, 2022 by
JulienPalard
lambda input type is mypy got something wrong
topic-inference
When to infer types or require explicit annotations
Any
when function type is a union, and no error when lambda does not satisfy any of the types in the union
bug
#13036
opened Jun 28, 2022 by
DetachHead
Incompatible type "Type[ImportError]"; expected "Type[Exception]"
bug
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
#14443
opened Jan 13, 2023 by
PeterJCLaw-mns
Empty dictionary argument is incompatible with union of mappings
bug
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
#14804
opened Feb 28, 2023 by
tobast
Generic matching error when tuple-unpacking result
bug
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
topic-type-variables
topic-union-types
#16310
opened Oct 21, 2023 by
msullivan
“Cannot infer type of lambda” using default parameter to recapture loop variable
bug
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
#15459
opened Jun 18, 2023 by
andersk
Using When to infer types or require explicit annotations
topic-type-alias
TypeAlias and other type alias issues
classmethod
of generic alias of a generic type and --disallow-any-generics
topic-inference
#16982
opened Mar 4, 2024 by
sobolevn
Mypy complains when mypy got something wrong
topic-inference
When to infer types or require explicit annotations
topic-runtime-semantics
mypy doesn't model runtime semantics correctly
[]
is used for __slots__
definition
bug
#10870
opened Jul 25, 2021 by
sobolevn
Confusing error message when setting item in a heterogeneous dict
feature
priority-1-normal
topic-inference
When to infer types or require explicit annotations
topic-typed-dict
topic-usability
#2900
opened Feb 24, 2017 by
timabbott
Proposal: infer obvious parameters and return types
feature
topic-inference
When to infer types or require explicit annotations
#10149
opened Feb 27, 2021 by
jaraco
Proposal: treat "obvious" return type as annotated
feature
topic-inference
When to infer types or require explicit annotations
#4409
opened Dec 25, 2017 by
elazarg
mypy doesn't infer **kwargs types from superclass
feature
topic-inference
When to infer types or require explicit annotations
topic-inheritance
Inheritance and incompatible overrides
#10079
opened Feb 11, 2021 by
rectalogic
ProTip!
Type g i on any issue or pull request to go back to the issue listing page.