-
-
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
no error on unused expression with type mypy got something wrong
priority-2-low
topic-disallow-any
The disallow-any-* family of flags
Any
when disallow-any-expr
is enabled
bug
#11959
opened Jan 10, 2022 by
DetachHead
Literal composition
feature
priority-2-low
topic-literal-types
#11616
opened Nov 25, 2021 by
Dreamsorcerer
(🐞) Variable in dataclass body has value of type mypy got something wrong
priority-2-low
topic-dataclasses
Field
when mypy thinks it's int
(or whatever)
bug
#13180
opened Jul 19, 2022 by
KotlinIsland
(🎁) No warning about mypy doesn't model runtime semantics correctly
topic-type-alias
TypeAlias and other type alias issues
topic-type-variables
TypeAlias
to bare TypeVar
when using TypeAlias
feature
priority-2-low
topic-runtime-semantics
#13376
opened Aug 11, 2022 by
KotlinIsland
no error when setting PEP 591
init=False
on Final
field in dataclass
feature
good-second-issue
priority-2-low
topic-dataclasses
topic-final
#13119
opened Jul 14, 2022 by
DetachHead
no error when using
field
outside of a dataclass
feature
priority-2-low
topic-dataclasses
#13120
opened Jul 14, 2022 by
DetachHead
(🎁) Special case
NoReturn
, Never
, Self
and TypeAlias
to not be subscriptable
feature
priority-2-low
#12375
opened Mar 18, 2022 by
KotlinIsland
(🐞) No error when empty tuple used as type parameter
bug
mypy got something wrong
priority-2-low
#12316
opened Mar 9, 2022 by
KotlinIsland
import * in class bodies should be disallowed
bug
mypy got something wrong
priority-2-low
topic-runtime-semantics
mypy doesn't model runtime semantics correctly
#12198
opened Feb 17, 2022 by
hauntsaninja
(🎁) Option to not report errors from stub bodies
feature
priority-2-low
#12196
opened Feb 17, 2022 by
KotlinIsland
Recognise the
@object.__new__
decorator on a class definition
feature
priority-2-low
#12265
opened Mar 1, 2022 by
DanielNoord
Only allow splatting iterables if function takes at least one positional arg
feature
priority-2-low
topic-calls
Function calls, *args, **kwargs, defaults
#12206
opened Feb 18, 2022 by
piotrfilipiuk
(🐞) Check
__setitem__
and __getitem__
for TypedDict
s
feature
priority-2-low
topic-typed-dict
#12270
opened Mar 2, 2022 by
KotlinIsland
no error when method has a keyword argument but no positional arguments
bug
mypy got something wrong
priority-2-low
topic-runtime-semantics
mypy doesn't model runtime semantics correctly
#12893
opened May 28, 2022 by
DetachHead
Dict's .get() method doesn't limit possible types of the given element
feature
priority-2-low
topic-type-narrowing
Conditional type narrowing / binder
#12457
opened Mar 26, 2022 by
mcAnswer
no warning when mypy got something wrong
priority-2-low
topic-dataclasses
topic-runtime-semantics
mypy doesn't model runtime semantics correctly
dataclass
extends non-dataclass with an __init__
method
bug
#13051
opened Jul 1, 2022 by
DetachHead
(🐞) An error should be reported when reveal_type() and reveal_locals()
reveal_type
is used but not called
feature
priority-2-low
topic-reveal-type
#12285
opened Mar 4, 2022 by
KotlinIsland
Wrong verbosity level when specified in both config file and command line.
bug
mypy got something wrong
priority-2-low
topic-configuration
Configuration files and flags
#12485
opened Mar 29, 2022 by
mrolle45
Recognizing expressions with a constant value.
feature
priority-2-low
topic-literal-types
#12583
opened Apr 14, 2022 by
mrolle45
no error when subtyping string literal
bug
mypy got something wrong
priority-2-low
topic-runtime-semantics
mypy doesn't model runtime semantics correctly
#16195
opened Sep 28, 2023 by
DetachHead
More principled solution for universal quantificatoin of non-Callable types
feature
priority-2-low
topic-paramspec
PEP 612, ParamSpec, Concatenate
topic-type-variables
#15909
opened Aug 18, 2023 by
ilevkivskyi
"Can only assign concrete classes to a variable of type "Type[MyProtocol]"" is hard to debug
bug
mypy got something wrong
diagnostics
priority-2-low
topic-error-reporting
How we report errors
topic-protocols
topic-usability
#8836
opened May 16, 2020 by
grahamc
Enum elements accessed via 'self' have 'auto' type
bug
mypy got something wrong
priority-2-low
topic-enum
#12107
opened Jan 31, 2022 by
finite-state-machine
mypy does not recognize conversion between fixed length list and tuple
false-positive
mypy gave an error on correct code
feature
needs discussion
priority-2-low
#7509
opened Sep 13, 2019 by
boompig
Support adding class variables to class through assignment
feature
priority-2-low
#8723
opened Apr 25, 2020 by
PeterJCLaw
ProTip!
Follow long discussions with comments:>50.