-
-
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
TypeVar in higher order decorator with type alias not resolved properly
bug
mypy got something wrong
topic-type-alias
TypeAlias and other type alias issues
topic-type-variables
#18503
opened Jan 21, 2025 by
cdce8p
mypy should error about missing type vars in explicit type aliases
bug
mypy got something wrong
topic-type-alias
TypeAlias and other type alias issues
#18394
opened Dec 31, 2024 by
A5rocks
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
Typeshed import cycle causes mypy to start claiming a fixed-length tuple type alias declared with Anything that blocks a typeshed change
bug
mypy got something wrong
topic-import-cycles
topic-type-alias
TypeAlias and other type alias issues
TypeAlias
is "not valid as a type"
affects-typeshed
#16581
opened Nov 28, 2023 by
AlexWaygood
Wrong overload resolution with alias to Any
bug
mypy got something wrong
topic-overloads
topic-type-alias
TypeAlias and other type alias issues
#15630
opened Jul 9, 2023 by
eltoder
Inconsistent "Invalid Metaclass" error for classes defined within functions
bug
mypy got something wrong
topic-metaclasses
topic-type-alias
TypeAlias and other type alias issues
#15027
opened Apr 10, 2023 by
nathanjmcdougall
Generic TypeAlias does not infer types
bug
mypy got something wrong
topic-type-alias
TypeAlias and other type alias issues
#14315
opened Dec 19, 2022 by
jzazo
(🎁) 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 instanciating mypy got something wrong
topic-type-alias
TypeAlias and other type alias issues
dict
type alias with invalid type
bug
#13320
opened Aug 4, 2022 by
DetachHead
generics used in type aliases incorrectly cause mypy got something wrong
topic-disallow-any
The disallow-any-* family of flags
topic-type-alias
TypeAlias and other type alias issues
Expression type contains "Any"
error
bug
#13111
opened Jul 13, 2022 by
DetachHead
(🐞) Strings as mypy got something wrong
topic-runtime-semantics
mypy doesn't model runtime semantics correctly
topic-type-alias
TypeAlias and other type alias issues
TypeAlias
s are incorrectly assumed to be type
s
bug
#12382
opened Mar 19, 2022 by
KotlinIsland
Implicit type aliases not recognised with PEP 604 + import cycles
bug
mypy got something wrong
priority-0-high
topic-pep-604
PEP 604 (union | operator)
topic-type-alias
TypeAlias and other type alias issues
#11887
opened Jan 2, 2022 by
AlexWaygood
Decorated __init__ confuses callback type if decorator is defined with type alias or if decorator is imported using relative import
bug
mypy got something wrong
topic-type-alias
TypeAlias and other type alias issues
#11293
opened Oct 8, 2021 by
posita
Need type annotation for predefined dict generic (3.9)
bug
mypy got something wrong
topic-type-alias
TypeAlias and other type alias issues
#11093
opened Sep 12, 2021 by
ultrabear
Cannot determine type of "__gt__" error on decorated __lt__ method where decorator is an assigned alias of another decorator
bug
mypy got something wrong
topic-type-alias
TypeAlias and other type alias issues
#10943
opened Aug 7, 2021 by
posita
"object" not callable when creating an instance of tuple by using type alias
bug
mypy got something wrong
topic-type-alias
TypeAlias and other type alias issues
#10214
opened Mar 14, 2021 by
ghost
Errors on multi-variable assignments of types
documentation
topic-type-alias
TypeAlias and other type alias issues
#10101
opened Feb 18, 2021 by
MrMino
"error: 'type' expects no type arguments, but 1 given" if type is aliased to another name
affects-typeshed
Anything that blocks a typeshed change
bug
mypy got something wrong
topic-pep-585
PEP 585 (builtin generics)
topic-type-alias
TypeAlias and other type alias issues
#10068
opened Feb 11, 2021 by
johnpmcconnell
Bug - Type aliasing typing.Tuple is treated as if the empty Tuple is being aliased
bug
mypy got something wrong
topic-type-alias
TypeAlias and other type alias issues
#8715
opened Apr 23, 2020 by
ufl-taeber
Type alias expansion sometimes interferes with type variable binding
bug
mypy got something wrong
priority-0-high
topic-calls
Function calls, *args, **kwargs, defaults
topic-type-alias
TypeAlias and other type alias issues
topic-type-variables
#3924
opened Sep 6, 2017 by
ilevkivskyi
Use alias names in error messages
feature
priority-1-normal
topic-type-alias
TypeAlias and other type alias issues
topic-usability
#2968
opened Mar 6, 2017 by
rhettinger
ProTip!
Follow long discussions with comments:>50.