Releases: KotlinIsland/basedmypy
Releases · KotlinIsland/basedmypy
1.6.0 alpha 2
previous release plus support for TypeVar
s in the bounds of other TypeVar
s
1.5.0
Added
- type joins (
a or b
) are now unions instead of closest ancestor - bare literals let you omit the
Literal
when it's safe to do so (strings are not supported at this time). - literals now render without the
Literal
1.6.0 alpha 1
Based on mypy master branch, this release includes:
Enhancements
- Similar errors on the same line will now not be removed
- Render generic upper bound with
:
instead of<:
- Render uninhabited type as
Never
instead of<nothing>
- Render
Callable
s with-> None
Fixes
- Handle positional only
/
parameters in overload implementation inference - Render inferred literal without
?
- Fix infer from defaults for inner functions
unsafe-variance
error code is correct again
1.5.0rc1
No changes since 1.5.0b1, generally considered stable.
1.4.1
1.5.0 beta 1
Based on Mypy 0.971
Added
- type joins (
a or b
) are now unions instead of closest ancestor - bare literals let you omit the
Literal
when it's safe to do so (strings are not supported at this time). - literals now render without the
Literal
1.4.0
Added
ignore_any_from_errors
option to suppressno-any-expr
messages from other errors- Function types are inferred from Overloads, overrides and default values. (no overrides for now sorry)
- Infer Property types
- Calls to incomplete functions are an error (configurable with
incomplete_is_typed
) - Added a new type
Untyped
, it's likeAny
, but more specific - Added a dependency on
basedtyping
Enhancements
- Render types a lot better in output messages
Fixes
types.NoneType
now works as a value oftype[None]
1.4.0 RC 1
1.4.0b4
1.3.1
Small patch release fixing an issue where default_return
would suppress missing annotation errors.