-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Disable comparison overlap checks in assert statements
false-positive
mypy gave an error on correct code
feature
needs discussion
topic-overlap
Overlapping equality check
#17896
opened Oct 8, 2024 by
JukkaL
Unused awaitable with TaskGroup
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
topic-async
async, await, asyncio
#15036
opened Apr 11, 2023 by
Dreamsorcerer
truthy-function incorrectly reported on sqlalchemy's hybrid_property with expression
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
topic-descriptors
Properties, class vs. instance attributes
#14314
opened Dec 19, 2022 by
StephenPCG
Wrong type narrowing when using type without an argument in isinstance call
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
topic-type-narrowing
Conditional type narrowing / binder
#13462
opened Aug 20, 2022 by
twoertwein
__getnewargs__ for a subclass incompatible with return type of supertype
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
topic-inheritance
Inheritance and incompatible overrides
#13309
opened Aug 2, 2022 by
eli-schwartz
Value of type "Type[type]" is not indexable
error inside reveal_type(type[type])
bug
#13026
opened Jun 26, 2022 by
denballakh
Supporting attrs extensions with different default arguments for decorators.
false-positive
mypy gave an error on correct code
feature
topic-attrs
#12774
opened May 12, 2022 by
t4lz
Any type causes worse type inference with higher-order function
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
#11610
opened Nov 24, 2021 by
JukkaL
False positive: unreachable
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
topic-reachability
Detecting unreachable code
#10806
opened Jul 12, 2021 by
KotlinIsland
False positive with variable key in Mapping with Optional value
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
#10163
opened Mar 4, 2021 by
aphedges
Confusing error message: List item 0 has incompatible type "Type[Linear]"; expected "Type[Linear]"
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
#10160
opened Mar 3, 2021 by
ezyang
nested isinstances lose type information
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
topic-join-v-union
Using join vs. using unions
topic-type-narrowing
Conditional type narrowing / binder
topic-union-types
#10146
opened Feb 27, 2021 by
Akuli
Type inference regression with sort and cmp_to_key
false-positive
mypy gave an error on correct code
priority-0-high
#9372
opened Aug 28, 2020 by
JukkaL
Poor handling of mypy got something wrong
false-positive
mypy gave an error on correct code
topic-attrs
attr
s converters.
bug
#9354
opened Aug 25, 2020 by
alanhdu
__add__ and __iadd__ are incompatible for list
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
#9279
opened Aug 7, 2020 by
arthaud
Definition Order Matters For mypy got something wrong
false-positive
mypy gave an error on correct code
topic-async
async, await, asyncio
types.coroutine
Decorator
bug
#9256
opened Aug 4, 2020 by
rmorshea
list
doesn't seem to be a valid callable
bug
#9253
opened Aug 3, 2020 by
Akuli
Type fails to get "refined" on branch when mypy gave an error on correct code
feature
priority-2-low
topic-pep-572
PEP 572 (walrus operator)
topic-type-narrowing
Conditional type narrowing / binder
is None
-check happens in variable assignment
false-positive
#9229
opened Jul 29, 2020 by
davidmrdavid
False positive example, can't interact with mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
topic-ternary-expression
a if b else c
topic-type-context
Type context / bidirectional inference
topic-type-narrowing
Conditional type narrowing / binder
isinstance
bug
#9226
opened Jul 28, 2020 by
GoToCoding
mypy Type error for a class with an imported metaclass
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
topic-metaclasses
#9185
opened Jul 21, 2020 by
seanp2
Proper way to use dynamic keys for TypedDict
false-positive
mypy gave an error on correct code
feature
priority-2-low
topic-literal-types
topic-typed-dict
#9168
opened Jul 18, 2020 by
mortoray
Failure to narrow down type of elements of Tuple
false-positive
mypy gave an error on correct code
feature
priority-2-low
topic-type-narrowing
Conditional type narrowing / binder
#9159
opened Jul 16, 2020 by
MaxG87
Invalid expression type with set of asyncio tasks
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
#9111
opened Jul 8, 2020 by
decaz
Incorrectly rejects TypeVar('F', bound=Callable[..., int]) for Callable[..., T]
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
topic-type-variables
#9075
opened Jun 30, 2020 by
andersk
False positive when type checking overloads with generics
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
topic-overloads
topic-type-variables
#9023
opened Jun 19, 2020 by
ngaya-ll
Previous Next
ProTip!
Exclude everything labeled
bug
with -label:bug.