Skip to content

Releases: mkorpela/overrides

Overrides 6.4.0

08 Oct 12:01
29567ed
Compare
Choose a tag to compare

What's Changed

See #96

Full Changelog: 6.3.0...6.4.0

Overrides 6.3.0

06 Oct 07:20
6dc007a
Compare
Choose a tag to compare

What's Changed

  • Support for overriding inner classes by @jobh in #101
  • If overriden method has no module assume _is_same_module is False by @tjsmart in #102

New Contributors

Thanks to @jobh and @tjsmart for your effort!

Full Changelog: 6.2.0...6.3.0

Overrides 6.2.0

04 Aug 19:48
d3d5c65
Compare
Choose a tag to compare

Support for Literals.
#94

Full Changelog: 6.1.0...6.2.0

Ignore untyped third party (another main module) signature

08 May 08:12
f7a55f6
Compare
Choose a tag to compare

Fixing: "Override breaks when overriding a method with no type hints in third party library" #77

Ignore broken types

06 May 19:29
a5c2d92
Compare
Choose a tag to compare

Broken types caused errors in 6.0.0.
Now these are detected and ignored.

Correct types for decorated methods

01 May 20:03
9af176c
Compare
Choose a tag to compare

Overrides decorator used to return Any, now keeps the original type information and is more compatible with mypy.

Fix recursive TypeVar

29 Apr 08:35
53c951e
Compare
Choose a tag to compare

Fix bug with TypeVar somewhere in the type structure.

Signature checks in overrides

29 Apr 06:53
83edaf6
Compare
Choose a tag to compare

This is a major new release that implements signature checks.
There are notable cases where signature checks do not work, but library has now also better support for mypy and typing.

@overrides decorator has now two optional arguments to handle hard signature checks:

  • check_signature: bool set this to False to completely disable method signature check
  • check_at_runtime: bool set this to True to delay signature checks until runtime. This enables forward reference checks.

Special thanks goes to @ashwin153, @brentyi and @cboots - you have all made this happen!

@ashwin153 has contributed large parts and initial implementations for signature checks. Awesome work!

Fix 3.6 crash

26 Apr 09:29
4b6a624
Compare
Choose a tag to compare

Fix type definition string

24 Apr 18:38
7c69760
Compare
Choose a tag to compare

Fix case where type is defined as string.