Skip to content

Releases: KotlinIsland/basedmypy

1.6.0 alpha 2

18 Aug 11:05
Compare
Choose a tag to compare
1.6.0 alpha 2 Pre-release
Pre-release

previous release plus support for TypeVars in the bounds of other TypeVars

1.5.0

15 Aug 05:13
Compare
Choose a tag to compare

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

15 Aug 03:44
Compare
Choose a tag to compare
1.6.0 alpha 1 Pre-release
Pre-release

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 Callables 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

07 Aug 23:05
Compare
Choose a tag to compare
1.5.0rc1 Pre-release
Pre-release

No changes since 1.5.0b1, generally considered stable.

1.4.1

06 Aug 09:29
Compare
Choose a tag to compare

Fixed

  • fix an issue regarding inferring propertys (#350)

1.5.0 beta 1

26 Jul 12:00
Compare
Choose a tag to compare
1.5.0 beta 1 Pre-release
Pre-release

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

13 Jul 06:17
Compare
Choose a tag to compare

Added

  • ignore_any_from_errors option to suppress no-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 like Any, 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 of type[None]

1.4.0 RC 1

27 Jun 07:12
Compare
Choose a tag to compare
1.4.0 RC 1 Pre-release
Pre-release

This release contains fixes for issues detected in prior beta releases:

1.4.0b4

16 Jun 07:15
Compare
Choose a tag to compare
1.4.0b4 Pre-release
Pre-release

Beta release for Basedmypy 1.4.0

  • ignore_any_from_errors (#281)
  • render types better (#290)
  • infer_function_types (#75)
  • Untyped type (#299)
  • infer property types (#305)

1.3.1

11 Apr 03:23
Compare
Choose a tag to compare

Small patch release fixing an issue where default_return would suppress missing annotation errors.