Skip to content

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
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
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 mypy got something wrong false-positive mypy gave an error on correct code topic-pep-585 PEP 585 (builtin generics)
#13026 opened Jun 26, 2022 by denballakh
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 attrs converters. bug mypy got something wrong false-positive mypy gave an error on correct code topic-attrs
#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 types.coroutine Decorator bug mypy got something wrong false-positive mypy gave an error on correct code topic-async async, await, asyncio
#9256 opened Aug 4, 2020 by rmorshea
list doesn't seem to be a valid callable bug mypy got something wrong false-positive mypy gave an error on correct code topic-type-variables
#9253 opened Aug 3, 2020 by Akuli
Type fails to get "refined" on branch when is None-check happens in variable assignment false-positive 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
#9229 opened Jul 29, 2020 by davidmrdavid
False positive example, can't interact with isinstance bug 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
#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
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
ProTip! Exclude everything labeled bug with -label:bug.