Bug Fix: Fixed bug in reportUnnecessaryContains
check that resulted in a false positive when the container element type is a TypeVar. The same logic error was present (and fixed) in the type narrowing logic for in
expressions.
Bug Fix: Fixed bug in reportUnnecessaryComparison
check that results in a false positive error when comparison chaining is used.
Bug Fix: Fixed bug that resulted in a false positive error when using a TypedDict that has been narrowed via an assignment to a not-required key.
Bug Fix: Fixed a bug that resulted in incorrect type inference for unannotated parameters with a default argument value in an __init__
method.
Enhancement: Added support for _generate_next_value_
override for Enum
class.
Bug Fix: Fixed a bug in the type printer code that resulted in an infinite recursion and crash.
Behavior Change: Changed reportUninitializedInstanceVariable
check to exempt protocol classes.
Bug Fix: Fixed a bug that resulted in infinite recursion and a crash when inferring return types for functions that returned another function that also has an inferred return type, etc. in a cycle.