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

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 classmethod of generic alias of a generic type and --disallow-any-generics topic-inference When to infer types or require explicit annotations topic-type-alias TypeAlias and other type alias issues
#16982 opened Mar 4, 2024 by sobolevn
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 error when instanciating dict type alias with invalid type bug mypy got something wrong topic-type-alias TypeAlias and other type alias issues
#13320 opened Aug 4, 2022 by DetachHead
generics used in type aliases incorrectly cause Expression type contains "Any" error bug mypy got something wrong topic-disallow-any The disallow-any-* family of flags topic-type-alias TypeAlias and other type alias issues
#13111 opened Jul 13, 2022 by DetachHead
(🐞) Strings as TypeAliass are incorrectly assumed to be types bug mypy got something wrong topic-runtime-semantics mypy doesn't model runtime semantics correctly topic-type-alias TypeAlias and other type alias issues
#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
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
"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
ProTip! Follow long discussions with comments:>50.