Overview
Could not load contribution data
Please try again later
5 Pull requests merged by 2 people
-
Fix union simplification performance regression
#12519 merged
Apr 5, 2022 -
[mypyc] Implement boxed constant integers as literals
#12507 merged
Apr 5, 2022 -
[mypyc] Fix incorrect borrowed flag for setdefault() primitive
#12514 merged
Apr 4, 2022 -
Fix minor docs inaccuracy: `NoneType` is exposed in the `types` module on Python 3.10+
#12515 merged
Apr 3, 2022 -
Refactoring: Remove the "erased" attribute of Instance
#12499 merged
Mar 31, 2022
8 Pull requests opened by 8 people
-
Do not generate `__match_args__` when running with `--python-version` < 3.10
#12503 opened
Mar 31, 2022 -
fix the incorrect, "variable arguments", error
#12509 opened
Apr 2, 2022 -
Docs: Use PEP 585 syntax in "The type of class objects"
#12516 opened
Apr 3, 2022 -
[mypyc] Move mypyc singledispatch support into new file
#12517 opened
Apr 4, 2022 -
Add more precise error message for Callable annotation
#12518 opened
Apr 4, 2022 -
Fix Stubgen's behavior for Instance Variables in C extensions
#12524 opened
Apr 5, 2022 -
pyinfo: Use sys.path instead of the site.getsitepackages procedure.
#12530 opened
Apr 6, 2022 -
Improve checking of "__slots__"
#12531 opened
Apr 6, 2022
57 Issues closed by 8 people
-
`allow-subclassing-any` also applies to subclassing the `Any` type as well as values with `Any` type
#12529 closed
Apr 7, 2022 -
Type aliases in class definitions
#9238 closed
Apr 5, 2022 -
attrs plugin: support the auto_detect option
#10328 closed
Apr 5, 2022 -
A Generic class whose constructor has a default value fails to infer its type
#12510 closed
Apr 4, 2022 -
every-attribute-optional derived type, like TypeScript's Partial
#10889 closed
Apr 4, 2022 -
literal NamedTuple as a type
#10294 closed
Apr 4, 2022 -
Suggestion: more precise inference when all elements are of same generic type
#8392 closed
Apr 4, 2022 -
Feature request: access modifiers
#4740 closed
Apr 4, 2022 -
Mypy does not report error for incorrect return annotation for NoReturn functions
#8841 closed
Apr 4, 2022 -
Optional[T] in {None,...} does not drop the Optional
#8787 closed
Apr 4, 2022 -
json
#12522 closed
Apr 4, 2022 -
Redefining variable to more specific type
#8071 closed
Apr 4, 2022 -
incompatible type using Union as return type
#8221 closed
Apr 4, 2022 -
`Callable` doesn't work with `self` type
#11382 closed
Apr 4, 2022 -
Refer to ClassVar[Type[...]] from annotation
#8070 closed
Apr 4, 2022 -
Bug - Type aliases in closure does not work
#8273 closed
Apr 4, 2022 -
QUESTION/HOWTO: Check if callable is bound to specific base class?
#8667 closed
Apr 4, 2022 -
incorrectly infers variable type if __init__ is after methods that use it
#8518 closed
Apr 4, 2022 -
Mypy thinks that my alias is a type variable
#8674 closed
Apr 4, 2022 -
Problem with classmethods in generic protocols
#10081 closed
Apr 4, 2022 -
Generic dataclasses with Generic fields are not type checked correctly
#10039 closed
Apr 4, 2022 -
Mypy crashes when a function is defined within a function decorated with no_type_check
#10025 closed
Apr 4, 2022 -
Using builtin list as argument to map
#10298 closed
Apr 4, 2022 -
`super()` erroneously flagged as incorrect when `cls` function parameter is generic
#7690 closed
Apr 4, 2022 -
Fast parser associates wrong column number with calls to member functions
#2749 closed
Apr 3, 2022 -
Var.is_ready remains false in some cases after type checking
#4346 closed
Apr 3, 2022 -
Overload variant notes are sometimes printed multiple times
#5661 closed
Apr 3, 2022 -
Nested empty container gets inferred to `object`
#5045 closed
Apr 3, 2022 -
Failing to use variables for types
#3962 closed
Apr 3, 2022 -
Specifics of callables sometimes lost in error messages
#3581 closed
Apr 3, 2022 -
False negative with accessing super types private member from sub type
#9446 closed
Apr 3, 2022 -
`x = tuple() # type: Tuple[()]` Incompatible types in assignment
#6283 closed
Apr 3, 2022 -
Feature: reveal_type should work from comments
#8864 closed
Apr 3, 2022 -
Mypy crashes if there is no 'function' or 'module' in builtins
#2765 closed
Apr 3, 2022 -
[question] Overload with return type depending on an optional argument
#5621 closed
Apr 2, 2022 -
Using TypeVar with bound in Generic
#9878 closed
Apr 2, 2022 -
Can't make mypy work with a class inherited from django
#10270 closed
Apr 2, 2022 -
0.931: pytest is failing mostly by compiler `[-Werror=cpp]` errors
#11942 closed
Apr 1, 2022 -
Please consider using explicit TypeAlias names rather than expanded types in error messages
#9381 closed
Apr 1, 2022 -
Cannot use alias from class scope
#9617 closed
Apr 1, 2022 -
`==` Narrows the type of an Enum in an if-elif block when following an `is`
#9786 closed
Apr 1, 2022 -
can't refine Dict[str, str] with isinstance check
#9783 closed
Apr 1, 2022 -
Is there a MyPy extension that can generate annotations from dynamic types?
#10006 closed
Apr 1, 2022 -
One-in-many types for tuples?
#10963 closed
Apr 1, 2022 -
Overloads in super-class for sub-class specific return types
#11759 closed
Mar 31, 2022 -
`type` class cannot be used as a generic
#11424 closed
Mar 31, 2022 -
Remove typing.AwaitableGenerator from typeshed
#8699 closed
Mar 31, 2022 -
Replace builtins.function with types.FunctionType
#3171 closed
Mar 31, 2022 -
Mypy fires on __anext__ function
#8280 closed
Mar 31, 2022 -
Virtual subclasses of abstract base classes
#1459 closed
Mar 31, 2022 -
"if isinstance(...)" filter in dictionary comprehension causes var type to be inferred as <nothing>
#10199 closed
Mar 31, 2022 -
Add a possibility to show types as their alias, rather than their underlying resolution, in mypy's output
#12502 closed
Mar 31, 2022 -
Incrementing a tuple confuses mypy
#10384 closed
Mar 31, 2022 -
Protocols: issue with namedtuple
#10466 closed
Mar 31, 2022 -
"Module has no attribute" when looping over modules
#11085 closed
Mar 31, 2022 -
Conditional import of izip is problematic
#1026 closed
Mar 31, 2022
21 Issues opened by 18 people
-
Narrowing types to `Literal` using `in` syntax
#12535 opened
Apr 6, 2022 -
Guard clause prevents `match` from seeing that all paths return
#12534 opened
Apr 6, 2022 -
`match` crashes on Union of Tuple and non-Tuple
#12533 opened
Apr 6, 2022 -
`match` doesn't deduce type of tuple member from guard clause
#12532 opened
Apr 6, 2022 -
assigning a TypeVar to an identical value is reported as an error.
#12528 opened
Apr 6, 2022 -
Crash when TypeVar of Generic dataclass has undefined bound
#12527 opened
Apr 5, 2022 -
Speed up union simplification
#12526 opened
Apr 5, 2022 -
Positional-or-kw arg considered incompatible with positional-only argument
#12525 opened
Apr 5, 2022 -
Mypy inferring `Union[str, str]` when using `enum.value` inside `dict.get`
#12523 opened
Apr 4, 2022 -
provide `add_static_method_to_class` via `plugins.common`
#12521 opened
Apr 4, 2022 -
"Relative import climbs too many namespaces" is not documented
#12520 opened
Apr 4, 2022 -
Plugin: Use mypy to enrich AST with types
#12513 opened
Apr 3, 2022 -
Incorrect precision calculation for TypedDict classes.
#12512 opened
Apr 2, 2022 -
Feature request: Catch operations on nothingness
#12511 opened
Apr 2, 2022 -
"variable arguments" in error message
#12508 opened
Apr 1, 2022 -
Odd interaction of Generic, Mapping, Hashable
#12506 opened
Apr 1, 2022 -
(🎁) A git/.gitignore exclude option
#12505 opened
Apr 1, 2022 -
some tests with approved stubs have the wrong error
#12504 opened
Mar 31, 2022 -
Improve error message when variable-length tuple annotation is required
#12501 opened
Mar 31, 2022 -
Type Alias for attribue in dataclass with restricted type shows unexpected behavior
#12500 opened
Mar 31, 2022 -
dmypy: Line number disappears when invoking multiple times
#12498 opened
Mar 31, 2022
278 Unresolved conversations
Sometimes conversations happen on old items that aren’t yet closed. Here is a list of all the Issues and Pull Requests with unresolved conversations.
-
Significant speed degradation from 0.931 to 0.941
#12408 commented on
Apr 6, 2022 • 7 new comments -
NoReturn return type with singledispatch causing weird errors
#11727 commented on
Apr 3, 2022 • 6 new comments -
Don't use builtins.function and others anymore
#8240 commented on
Apr 3, 2022 • 5 new comments -
Mypy doesn't seem to use types from @overload-ed __sub__
#11613 commented on
Apr 5, 2022 • 4 new comments -
Search sys.path for PEP-561 compliant packages
#11143 commented on
Apr 6, 2022 • 4 new comments -
"error: 'type' expects no type arguments, but 1 given" if type is aliased to another name
#10068 commented on
Apr 2, 2022 • 3 new comments -
Constant vs variable as index for none-checking List[Optional[...]]
#12413 commented on
Apr 5, 2022 • 3 new comments -
Keeping the issue tracker healthy
#12384 commented on
Apr 5, 2022 • 3 new comments -
Basic ParamSpec Concatenate and literal support
#11847 commented on
Apr 5, 2022 • 3 new comments -
Error in type comment points to wrong line
#7472 commented on
Apr 3, 2022 • 2 new comments -
Wrong verbosity level when specified in both config file and command line.
#12485 commented on
Apr 4, 2022 • 2 new comments -
mypy runs forever with colour-science
#12225 commented on
Apr 5, 2022 • 2 new comments -
sitecustomize/full sys.path support
#5701 commented on
Apr 6, 2022 • 2 new comments -
Allow using TypedDict for more precise typing of **kwds
#4441 commented on
Apr 6, 2022 • 2 new comments -
Recurrent but not reproducible crash when writing to cache
#12475 commented on
Apr 6, 2022 • 2 new comments -
mypy generates `__match_args__` for dataclasses and `NamedTuple`s on Python <3.10
#12489 commented on
Mar 31, 2022 • 1 new comment -
TypeGuard functions not properly recognizing generic types
#11428 commented on
Mar 31, 2022 • 1 new comment -
mypy --strict has misleading suggestion for Callable
#11757 commented on
Mar 31, 2022 • 1 new comment -
State of the Mypy cache makes check results unpredictable
#10221 commented on
Mar 31, 2022 • 1 new comment -
Cannot assign to field of Callable type
#708 commented on
Mar 31, 2022 • 1 new comment -
(🐞) `Enum.name` is `Any` in 3.11 / support `enum.property`
#12483 commented on
Mar 31, 2022 • 1 new comment -
`inspect.isfunction` and `inspect.ismethod`
#10117 commented on
Apr 1, 2022 • 1 new comment -
How sys.platform is imported matters when doing system platform checks
#10054 commented on
Apr 1, 2022 • 1 new comment -
Casting NamedTuple with __call__ to Callable
#9858 commented on
Apr 1, 2022 • 1 new comment -
False positives when redefining property in subclass
#5936 commented on
Apr 1, 2022 • 1 new comment -
JSON output format
#10816 commented on
Apr 1, 2022 • 1 new comment -
False positive example, can't interact with `isinstance`
#9226 commented on
Apr 1, 2022 • 1 new comment -
Missing Liskov error for subclass with subclass field
#11720 commented on
Apr 2, 2022 • 1 new comment -
Tracking variable whereabouts in a plugin
#9010 commented on
Apr 2, 2022 • 1 new comment -
Variable loses type inference after passing through dictionary of known type
#9369 commented on
Apr 2, 2022 • 1 new comment -
Cannot find module named cattr even though it is installed
#7305 commented on
Apr 2, 2022 • 1 new comment -
mypy thinks variable is None even if assigned non-None value inside loop
#11900 commented on
Apr 2, 2022 • 1 new comment -
Warn if `__exit__` doesn't have the right signature.
#4885 commented on
Apr 3, 2022 • 1 new comment -
Crash while hashing a callable type
#4601 commented on
Apr 3, 2022 • 1 new comment -
Fast parser doesn't complain about signature type comment missing `*` or `**`
#1997 commented on
Apr 3, 2022 • 1 new comment -
Respect sys.platform platform check assertion inside functions
#9025 commented on
Apr 4, 2022 • 1 new comment -
Type alias expansion sometimes interferes with type variable binding
#3924 commented on
Apr 4, 2022 • 1 new comment -
disallow_untyped_calls in module does not override global section
#10757 commented on
Apr 4, 2022 • 1 new comment -
support narrowing enum values using `==` and `!=`
#10915 commented on
Apr 4, 2022 • 1 new comment -
Ignore specific error for whole file
#11027 commented on
Apr 5, 2022 • 1 new comment -
Smarter unwrapping for `Optional` type possible?
#4245 commented on
Apr 7, 2022 • 1 new comment -
"AttributeError: attribute 'arguments' of 'FuncDef' undefined" when running mypy twice
#12324 commented on
Apr 6, 2022 • 1 new comment -
Adopt Black and isort as code formatters
#12424 commented on
Apr 4, 2022 • 1 new comment -
Wrong warning when assigning __str__
#3951 commented on
Mar 31, 2022 • 0 new comments -
--warn-unused-ignores in non-checked branches
#5940 commented on
Mar 31, 2022 • 0 new comments -
.gitignore file in cache is created too late
#12442 commented on
Mar 31, 2022 • 0 new comments -
Covariance error inferred for lambda has invalid line number associated with it
#8592 commented on
Mar 31, 2022 • 0 new comments -
Module ... has no attribute ... when #type: ignore[misc] is set at the top of a module
#9318 commented on
Mar 31, 2022 • 0 new comments -
Module has no attribute error
#9841 commented on
Mar 31, 2022 • 0 new comments -
Inconsistent Treatment of Class Constructor by Protocol
#10482 commented on
Mar 31, 2022 • 0 new comments -
`note:` is orphaned from actual error if there are other problems between it
#10480 commented on
Mar 31, 2022 • 0 new comments -
`@overload` breaks with named tuple and some overloaded functions
#10470 commented on
Mar 31, 2022 • 0 new comments -
Function "builtins.callable" is not valid as a type
#10434 commented on
Mar 31, 2022 • 0 new comments -
mypy should search parent directories for `pyproject.toml` config file
#10613 commented on
Mar 31, 2022 • 0 new comments -
Make any callable compatible with (*args: Any, **kwargs: Any)?
#5876 commented on
Mar 31, 2022 • 0 new comments -
Type parameter scoping seems to disagree with PEP 484
#11993 commented on
Mar 31, 2022 • 0 new comments -
Types of inheritanced class attributes aren't detected
#10375 commented on
Mar 31, 2022 • 0 new comments -
Inconsistent handling of unsolved TypeVars
#10241 commented on
Mar 31, 2022 • 0 new comments -
Type inconsistently and insufficiently refined
#10224 commented on
Mar 31, 2022 • 0 new comments -
"Dynamic metaclass not supported" false positive on generics
#11672 commented on
Mar 31, 2022 • 0 new comments -
`issubclass` doesn't narrow metaclasses
#11671 commented on
Mar 31, 2022 • 0 new comments -
metaclass/__init_subclass__ keyword checking
#11057 commented on
Mar 31, 2022 • 0 new comments -
Overloaded metaclass __or__ does not keep typing
#11648 commented on
Mar 31, 2022 • 0 new comments -
False positive on class definition keyword arguments
#11036 commented on
Mar 31, 2022 • 0 new comments -
Wrong type inference for class with metaclass that acts as descriptor
#10964 commented on
Mar 31, 2022 • 0 new comments -
Erronous 'Incompatible type' when using descriptor in metaclass
#9758 commented on
Mar 31, 2022 • 0 new comments -
mypy Type error for a class with an imported metaclass
#9185 commented on
Mar 31, 2022 • 0 new comments -
Metaclass confusion with properties
#7945 commented on
Mar 31, 2022 • 0 new comments -
mypy silent about incorrect metaclasses-based protocol
#4272 commented on
Mar 31, 2022 • 0 new comments -
Check keyword arguments in class definitions
#2653 commented on
Mar 31, 2022 • 0 new comments -
`asyncio.gather` is sometimes erroneously type-checked
#10682 commented on
Mar 31, 2022 • 0 new comments -
Generator with await not considered an AsyncGenerator
#10534 commented on
Mar 31, 2022 • 0 new comments -
Type of existing variable is not being specified when statement in assignment returns Awaitable
#10516 commented on
Mar 31, 2022 • 0 new comments -
async decorated method type-incompatibility with super superclass
#9876 commented on
Mar 31, 2022 • 0 new comments -
Definition Order Matters For `types.coroutine` Decorator
#9256 commented on
Mar 31, 2022 • 0 new comments -
Expression type contains Any with await
#8884 commented on
Mar 31, 2022 • 0 new comments -
Unexpected behavior regarding async generator
#5070 commented on
Mar 31, 2022 • 0 new comments -
Warn about unused Awaitables (and potentially other objects)
#2499 commented on
Mar 31, 2022 • 0 new comments -
False-positive errors when using `type[T]` (or `Type[T]`) in a PEP 604 type alias
#12392 commented on
Mar 31, 2022 • 0 new comments -
Crash when `(Mutable)Sequence` is imported from `collections.abc` in `typeshed/stdlib/builtins.pyi`
#11860 commented on
Mar 31, 2022 • 0 new comments -
Overriding an overloaded method that returns a value of a Union type
#10799 commented on
Mar 31, 2022 • 0 new comments -
Overloading staticmethods
#7781 commented on
Mar 31, 2022 • 0 new comments -
false positive "error: Type application has too many types (1 expected)" on tuple when annotated as a type
#11098 commented on
Mar 31, 2022 • 0 new comments -
Regression in testAsyncioGatherPreciseType
#12089 commented on
Mar 31, 2022 • 0 new comments -
Missing error when returning None from async function
#9191 commented on
Mar 31, 2022 • 0 new comments -
mypy doesn't take value restrictions into account when solving type variables
#11880 commented on
Mar 31, 2022 • 0 new comments -
Support cyclic definitions in the bound of a TypeVar
#10874 commented on
Mar 31, 2022 • 0 new comments -
Allowing `typing.NoReturn` as a return hint for `__init__` methods
#10342 commented on
Mar 31, 2022 • 0 new comments -
Cannot silence "unused 'type: ignore'" in version specific code
#8823 commented on
Mar 31, 2022 • 0 new comments -
Passing a list as an argument with * leads to confusing error
#3224 commented on
Mar 31, 2022 • 0 new comments -
Generic function can't make function call with mapping unpacking
#11583 commented on
Apr 1, 2022 • 0 new comments -
warn when default values on overloads differ from implementation signature
#11397 commented on
Apr 1, 2022 • 0 new comments -
Spurious “cyclic definition” error when inheriting from and shadowing a class
#10958 commented on
Apr 1, 2022 • 0 new comments -
Mypy signals error with Protocol and __rpow__ method with three arguments
#10786 commented on
Apr 1, 2022 • 0 new comments -
allow_redefinition ignored for functions
#10765 commented on
Apr 1, 2022 • 0 new comments -
Cannot determine type of attribute due to circular reference:
#10749 commented on
Apr 1, 2022 • 0 new comments -
Allow redefinition of class attribute as an instance attribute in a child class
#10721 commented on
Apr 1, 2022 • 0 new comments -
mypy confuses dataclass field name with imported function name
#10640 commented on
Apr 1, 2022 • 0 new comments -
Annotation parsing incorrect when class scope defines same name as import
#12414 commented on
Apr 1, 2022 • 0 new comments -
no error when reading global variable without `global` keyword when assigning to it
#12139 commented on
Apr 1, 2022 • 0 new comments -
Class scope name resolution issue
#9991 commented on
Apr 1, 2022 • 0 new comments -
Mypy issue with python scoping rule
#8746 commented on
Apr 1, 2022 • 0 new comments -
New semanal: Spurious "no binding for nonlocal"
#7057 commented on
Apr 1, 2022 • 0 new comments -
mypy gives 'not defined' error for use after global declaration
#5732 commented on
Apr 1, 2022 • 0 new comments -
Name resolution in mypy doesn't match Python
#3775 commented on
Apr 1, 2022 • 0 new comments -
References to names before they're bound should generate an error
#686 commented on
Apr 1, 2022 • 0 new comments -
`x = x or y` with x undeclared gives no error
#937 commented on
Apr 1, 2022 • 0 new comments -
Using not yet defined variables is allowed
#2788 commented on
Apr 1, 2022 • 0 new comments -
yield from inside list comprehension gives wrong type
#10188 commented on
Apr 1, 2022 • 0 new comments -
Proposal: infer obvious parameters and return types
#10149 commented on
Apr 1, 2022 • 0 new comments -
Union of dicts fail
#10135 commented on
Apr 1, 2022 • 0 new comments -
nullcontext treated as having no __enter__ or __exit__ method
#10109 commented on
Apr 1, 2022 • 0 new comments -
Mypy complains about empty __all__ being untyped
#10103 commented on
Apr 1, 2022 • 0 new comments -
Errors on multi-variable assignments of types
#10101 commented on
Apr 1, 2022 • 0 new comments -
Feature: Del erases types
#10005 commented on
Apr 1, 2022 • 0 new comments -
Wrong return type detected for @overload function
#9987 commented on
Apr 1, 2022 • 0 new comments -
Support glob patterns when configuring `mypy_path`
#9965 commented on
Apr 1, 2022 • 0 new comments -
Enhance `stubgen` to include types for `@dataclass` private methods
#9986 commented on
Apr 1, 2022 • 0 new comments -
Polynomial time-complexity of typing.overload
#10004 commented on
Apr 1, 2022 • 0 new comments -
mypy section now required in setup.cfg differs from documentation
#9940 commented on
Apr 1, 2022 • 0 new comments -
@overload interacts badly with @property even with the `type: ignore` workaround
#9937 commented on
Apr 1, 2022 • 0 new comments -
Confusing line number reported for "Cannot use a covariant type variable as a parameter"
#9929 commented on
Apr 1, 2022 • 0 new comments -
'Final' (PEP 591) shouldn't apply to '__private' symbols
#9910 commented on
Apr 1, 2022 • 0 new comments -
Stubgen omits namedtuple fields for subclasses.
#9901 commented on
Apr 1, 2022 • 0 new comments -
List[Literal[...]] type being narrowed where it shouldn't be
#9850 commented on
Apr 1, 2022 • 0 new comments -
False negative with callback protocols and types
#9843 commented on
Apr 1, 2022 • 0 new comments -
testing: tests for mypyc failed when gtest was installed on my system
#9812 commented on
Apr 1, 2022 • 0 new comments -
Cannot determine consistent method resolution order (MRO) when inheriting from both `MutableSequence` and `list`
#11427 commented on
Apr 1, 2022 • 0 new comments -
Mypy fails on usage of attrs package
#9770 commented on
Apr 1, 2022 • 0 new comments -
Add flag to ignore 'Skipping analyzing ...'
#9789 commented on
Apr 1, 2022 • 0 new comments -
`@overload`s on `@abstractmethod`s shouldn't need an implementation
#11488 commented on
Apr 1, 2022 • 0 new comments -
`@final` decorator is not honored. no error on override.
#9618 commented on
Apr 1, 2022 • 0 new comments -
[mypyc] support of `@final` types
#9612 commented on
Apr 1, 2022 • 0 new comments -
Error when using Protocol and different __init__() signatures
#9597 commented on
Apr 1, 2022 • 0 new comments -
"Cannot assign multiple types to name" error when using get_dynamic_class_hook
#9627 commented on
Apr 1, 2022 • 0 new comments -
Inconsistent behaviour with return type of derived class
#9603 commented on
Apr 1, 2022 • 0 new comments -
mypy appears to become inefficient for nested ifs (13+ nested ifs)
#9591 commented on
Apr 1, 2022 • 0 new comments -
mypy doesn't realize None is an instance of type(None)
#9541 commented on
Apr 1, 2022 • 0 new comments -
(🐞) false positive with `...` in `Callable` and 'disallow-any-explicit'
#9496 commented on
Apr 1, 2022 • 0 new comments -
Cannot ignore type errors in multiline strings
#9484 commented on
Apr 1, 2022 • 0 new comments -
unused ignore comment changes depending on cache
#9434 commented on
Apr 1, 2022 • 0 new comments -
Assert on Literal field causes spurious "Non-overlapping equality check"
#9409 commented on
Apr 1, 2022 • 0 new comments -
Type fails to get "refined" on branch when `is None`-check happens in variable assignment
#9229 commented on
Apr 1, 2022 • 0 new comments -
Failure to narrow down type of elements of Tuple
#9159 commented on
Apr 1, 2022 • 0 new comments -
Cannot access custom property of union type
#9053 commented on
Apr 1, 2022 • 0 new comments -
Allow Final attributes declared in class body if initialized in ctor
#8982 commented on
Apr 1, 2022 • 0 new comments -
Confusing error message for property with @overloaded function
#8737 commented on
Apr 1, 2022 • 0 new comments -
"maximum semantic analysis iteration count reached" with TypeVar bound to recursive type definition
#8320 commented on
Apr 1, 2022 • 0 new comments -
Should non-overlapping comparisons allowed in assertions?
#8294 commented on
Apr 1, 2022 • 0 new comments -
Reject arguments that are both keyword and positional only
#8269 commented on
Apr 1, 2022 • 0 new comments -
Conditional expression produces different result than if (w/ callable())
#8265 commented on
Apr 1, 2022 • 0 new comments -
Support using Literal on __getattr__ and __getattribute__
#8203 commented on
Apr 1, 2022 • 0 new comments -
Strict equality false negative with 'in' and partial type
#8182 commented on
Apr 1, 2022 • 0 new comments -
__set_name__ isn't checked
#8057 commented on
Apr 1, 2022 • 0 new comments -
MyPy 0.750 slow startup (or hang) on macOS
#8055 commented on
Apr 1, 2022 • 0 new comments -
Running mypy on doctests
#7966 commented on
Apr 1, 2022 • 0 new comments -
mypy fails with mypyc, even with empty file
#7797 commented on
Apr 1, 2022 • 0 new comments -
Give error if __aexit__ returns false but is declared to return bool
#7665 commented on
Apr 1, 2022 • 0 new comments -
else not considered unreachable when if type binder should always match
#7600 commented on
Apr 1, 2022 • 0 new comments -
Use alias names in error messages
#2968 commented on
Apr 1, 2022 • 0 new comments -
Type check global after function definition
#538 commented on
Apr 1, 2022 • 0 new comments -
Give a warning if a local variable is assigned to but never read
#76 commented on
Apr 1, 2022 • 0 new comments -
Will recursive or mutually recursive bounds on TypeVar be supported?
#1561 commented on
Apr 1, 2022 • 0 new comments -
Confusing error message for a missing classmethod decorator
#11791 commented on
Apr 2, 2022 • 0 new comments -
ABCMeta.register support
#2922 commented on
Apr 2, 2022 • 0 new comments -
Odd behavior when creating namedtuple
#10954 commented on
Apr 2, 2022 • 0 new comments -
mypy spends a long time in a linux kernel if high number of cores.
#10818 commented on
Apr 2, 2022 • 0 new comments -
build a typeddict from another
#10585 commented on
Apr 2, 2022 • 0 new comments -
Disagreement between MyPy and pytype
#9913 commented on
Apr 2, 2022 • 0 new comments -
Regular automatic typeshed merge testing
#10540 commented on
Apr 2, 2022 • 0 new comments -
Adjusting the signature of a function on the basis of caller types in plugin
#10216 commented on
Apr 2, 2022 • 0 new comments -
Cache only being for successful runs on unchanged codebase
#12075 commented on
Apr 2, 2022 • 0 new comments -
Per type instance metadata
#8843 commented on
Apr 2, 2022 • 0 new comments -
Clarify `zip_safe=False` recommendation for PEP 561
#8802 commented on
Apr 2, 2022 • 0 new comments -
How can I define a typed decorators that call an existing untyped decorators
#8585 commented on
Apr 2, 2022 • 0 new comments -
Subclasses of external classes confusing mypy
#5445 commented on
Apr 3, 2022 • 0 new comments -
Return inside class inside function should be an error
#1683 commented on
Apr 3, 2022 • 0 new comments -
Feature request: type_by_name pragma
#2103 commented on
Apr 3, 2022 • 0 new comments -
Does not find non local variable for inner (dynamic) class
#6264 commented on
Apr 3, 2022 • 0 new comments -
Strict optional doesn't recognize "None in (...)" tests
#2980 commented on
Apr 3, 2022 • 0 new comments -
`sum(List[Decimal]) + sum(List[Decimal])` incompatible type error
#8814 commented on
Apr 3, 2022 • 0 new comments -
Exception variable can leak to other scopes causing strange error messages
#6647 commented on
Apr 3, 2022 • 0 new comments -
mypy fails to report missing "private" __x attribute
#8267 commented on
Apr 3, 2022 • 0 new comments -
Facilitate easy integration of mypy in other tools: use mypy as a module and obtain the results as structured data rather than flat text.
#2097 commented on
Apr 3, 2022 • 0 new comments -
What format should per-file options take?
#3432 commented on
Apr 3, 2022 • 0 new comments -
Potential bug in per-file strict-optional
#3966 commented on
Apr 3, 2022 • 0 new comments -
Document properties of internal type operations
#3454 commented on
Apr 3, 2022 • 0 new comments -
When using `isinstance` to infer a generic type in a block, use any covariant bounds on the type variable.
#1998 commented on
Apr 3, 2022 • 0 new comments -
Inferring constraints for callable types doesn't verify argument counts and kinds
#702 commented on
Apr 3, 2022 • 0 new comments -
Strange behavior when superclass is an unknown argument
#1069 commented on
Apr 3, 2022 • 0 new comments -
"<function> defined here" notes omitted when function is loaded from cache
#4772 commented on
Apr 3, 2022 • 0 new comments -
Improve type inference for recursive protocols
#3829 commented on
Apr 3, 2022 • 0 new comments -
feature_request(clize): Clize syntax support
#5541 commented on
Apr 3, 2022 • 0 new comments -
Dict type does not work with TypeVar?
#4928 commented on
Apr 3, 2022 • 0 new comments -
Redundant cast warning in nested function in a narrowed block
#5795 commented on
Apr 3, 2022 • 0 new comments -
Garbled output of reveal_type(Type[bounded TypeVar])
#5897 commented on
Apr 3, 2022 • 0 new comments -
Idea: short-circuit analysis with `if <platform-check>: return`
#5964 commented on
Apr 3, 2022 • 0 new comments -
Make command line tests faster
#5966 commented on
Apr 3, 2022 • 0 new comments -
Having trouble writing a type signature for a subclass of LoggerAdapter
#4676 commented on
Apr 3, 2022 • 0 new comments -
Overload resolution fails with inline lambda
#6164 commented on
Apr 3, 2022 • 0 new comments -
Base class attribute type does not provide type context in subclass
#4547 commented on
Apr 3, 2022 • 0 new comments -
Confusing message if callable is incompatible due to argument name
#4530 commented on
Apr 3, 2022 • 0 new comments -
Test using error codes in a plugin
#7325 commented on
Apr 3, 2022 • 0 new comments -
Inconsistent errors with superclass Liskov violations
#7336 commented on
Apr 3, 2022 • 0 new comments -
Test running dmypy compiled on Windows before a release
#7034 commented on
Apr 3, 2022 • 0 new comments -
Highlight differences in complex types
#4531 commented on
Apr 3, 2022 • 0 new comments -
Multiple inheritance triggers issues that cannot be resolved
#4335 commented on
Apr 3, 2022 • 0 new comments -
Wrong column reported for errors in function sig type comments
#7893 commented on
Apr 3, 2022 • 0 new comments -
mypy not flagging subclasses with incompatible constructors
#6967 commented on
Apr 3, 2022 • 0 new comments -
RFC: a type comment to ignore expected errors
#8655 commented on
Apr 3, 2022 • 0 new comments -
Support recursive types
#731 commented on
Apr 3, 2022 • 0 new comments -
Detect and flag as errors forward references to variables
#6303 commented on
Apr 3, 2022 • 0 new comments -
False negative involving null checks on optional types
#5423 commented on
Apr 3, 2022 • 0 new comments -
Error context for string interpolation may be wrong
#7528 commented on
Apr 3, 2022 • 0 new comments -
Improve message if user forgot to call a function
#7687 commented on
Apr 4, 2022 • 0 new comments -
mypy does not recognize __qualname__
#6473 commented on
Apr 4, 2022 • 0 new comments -
Different behavior for Optional with if condition `not Var` and `Var is not None`
#7696 commented on
Apr 4, 2022 • 0 new comments -
get_dynamic_class_hook() not invoked on generic types
#8359 commented on
Apr 4, 2022 • 0 new comments -
"Invalid base class" raised when Base Class is a class field
#3587 commented on
Apr 4, 2022 • 0 new comments -
Walrus operators unrecognised in dictionary initialisation of a class attribute
#8379 commented on
Apr 4, 2022 • 0 new comments -
deleting a class-scoped variable that shadows a global variable causes mypy to think it's undefined
#9600 commented on
Apr 4, 2022 • 0 new comments -
Rather confusing error message when argument name is wrong
#9668 commented on
Apr 4, 2022 • 0 new comments -
"Cannot determine type" if first assignment to attribute is unreachable
#9709 commented on
Apr 4, 2022 • 0 new comments -
Module has no attribute "__cached__"
#9726 commented on
Apr 4, 2022 • 0 new comments -
`Union` is incorrectly constructed when `callable()` is used, resulting in a false positive
#9778 commented on
Apr 4, 2022 • 0 new comments -
--disallow-any-generics is allowing defaultdict[Any, ...]
#9785 commented on
Apr 4, 2022 • 0 new comments -
False positive: "Incompatible return value type"
#10059 commented on
Apr 4, 2022 • 0 new comments -
0.800: Unable to configure subdirectories
#10045 commented on
Apr 4, 2022 • 0 new comments -
Unable to make generic subclass using type variable with value restriction
#10130 commented on
Apr 4, 2022 • 0 new comments -
nested isinstances lose type information
#10146 commented on
Apr 4, 2022 • 0 new comments -
property fail on fget, fset
#6185 commented on
Apr 4, 2022 • 0 new comments -
Only use annotations of `@overload`ed functions to type check the implementation
#8867 commented on
Apr 4, 2022 • 0 new comments -
Extract test infrastructure into a separate package?
#7228 commented on
Apr 4, 2022 • 0 new comments -
Add test that prevents increasing import cycles in the mypy implementation
#7407 commented on
Apr 4, 2022 • 0 new comments -
Consider adding --warn-unreachable to --strict
#7469 commented on
Apr 4, 2022 • 0 new comments -
Clean up kludges for handling metaclasses and Type[...] in check_op_reversible
#5491 commented on
Apr 4, 2022 • 0 new comments -
False negative for restricted self in subclass
#7861 commented on
Apr 4, 2022 • 0 new comments -
Is it possible to define a subscriptable class which can take type arguments and ellipses?
#8414 commented on
Apr 4, 2022 • 0 new comments -
Generic method returning nested class
#6689 commented on
Apr 4, 2022 • 0 new comments -
Clarification of `properly subclassable class` in NewType
#6701 commented on
Apr 4, 2022 • 0 new comments -
[bug] Doesn't ignore explicit any on a single line
#8759 commented on
Apr 4, 2022 • 0 new comments -
Strange custom type for `__init__` behaviour [@curry plugin]
#8801 commented on
Apr 4, 2022 • 0 new comments -
Unexpected limitation of type inference in elif clause
#6227 commented on
Apr 4, 2022 • 0 new comments -
hook for missing imports
#8105 commented on
Apr 4, 2022 • 0 new comments -
pyqtProperty setter always raises an error
#9911 commented on
Apr 4, 2022 • 0 new comments -
Get rid of backward compatibility in flags parsing
#4119 commented on
Apr 4, 2022 • 0 new comments -
warn_unused_ignores is too sensitive: false positives
#4412 commented on
Apr 4, 2022 • 0 new comments -
Support 'on'/'off' for type ignores
#9483 commented on
Apr 4, 2022 • 0 new comments -
Ignore typing errors in individual blocks
#6948 commented on
Apr 4, 2022 • 0 new comments -
Don't require annotations of kwargs initialized to bool, float, int or string constants
#12352 commented on
Apr 4, 2022 • 0 new comments -
Disallow locally-generated types from escaping their function
#4690 commented on
Apr 4, 2022 • 0 new comments -
Class variable gets the type of instance variable
#4886 commented on
Apr 4, 2022 • 0 new comments -
Bare ClassVar should infer type instead of defaulting to Any
#5587 commented on
Apr 4, 2022 • 0 new comments -
Generic ClassVar Type failing
#5144 commented on
Apr 4, 2022 • 0 new comments -
generic super false-posistive error on argument type
#6224 commented on
Apr 4, 2022 • 0 new comments -
Feature Request: type safe function composition
#8449 commented on
Apr 4, 2022 • 0 new comments -
Mypy can't infer parameter types for nested function calls.
#8666 commented on
Apr 4, 2022 • 0 new comments -
Question: How to bound a mixin to a subclass
#8705 commented on
Apr 4, 2022 • 0 new comments -
Constraining a TypeVar to be not None seems impossible.
#8881 commented on
Apr 4, 2022 • 0 new comments -
Type checking seems to stop after 2 isinstance checks
#6464 commented on
Apr 4, 2022 • 0 new comments -
Implement variance checks for recursive protocols.
#3828 commented on
Apr 4, 2022 • 0 new comments -
"error: Name is not defined" and confusing behavior on instance-level classes
#8482 commented on
Apr 4, 2022 • 0 new comments -
Per-module options patterns starting with *
#8522 commented on
Apr 4, 2022 • 0 new comments -
mypy doesn't infer **kwargs types from superclass
#10079 commented on
Apr 4, 2022 • 0 new comments -
inner class of NamedTuple triggers "Invalid statement"
#10337 commented on
Apr 4, 2022 • 0 new comments -
No error for singledispatch on generic types
#11875 commented on
Apr 4, 2022 • 0 new comments -
Type Aliases for ParamSpec don't work
#11855 commented on
Apr 4, 2022 • 0 new comments -
Do not raise "Enum index should be a string [misc]" for subclasses of Enum
#11039 commented on
Apr 4, 2022 • 0 new comments -
Cannot exclude __init__.py without excluding the entire dir
#10946 commented on
Apr 4, 2022 • 0 new comments -
False positive for "Non-overlapping identity check" when comparing Enum variants
#10910 commented on
Apr 4, 2022 • 0 new comments -
'TypeVar's `bound` parameter does not play nice with overloads(?)
#10691 commented on
Apr 4, 2022 • 0 new comments -
Add a --warn-unused-strictness-exceptions flag
#4018 commented on
Apr 4, 2022 • 0 new comments -
Flag for Different Strictness Levels
#3507 commented on
Apr 4, 2022 • 0 new comments -
Checking call signatures of `Type[C]` objects
#1831 commented on
Apr 4, 2022 • 0 new comments -
Join computed suboptimally with multiple inheritance
#4373 commented on
Apr 6, 2022 • 0 new comments -
False-positive error when using `Callable` in a PEP 604 type alias
#12393 commented on
Apr 6, 2022 • 0 new comments -
Meta issue tracker
#11201 commented on
Apr 7, 2022 • 0 new comments -
Make --namespace-packages the default
#9636 commented on
Mar 31, 2022 • 0 new comments