Skip to content

v1.6.6

Choose a tag to compare

@alexarje alexarje released this 28 Jun 17:31
· 370 commits to master since this release

What's changed

Added

  • Parameter type hints across the public API (#345). Every public analysis method now annotates its parameters (not just its return type): the motion methods, optical flow, pose, the space-time visualisations, directograms/impacts, SSM, cropping, heatmap, history, videograms, and the audio + audio–movement suite, plus the public _utils helpers and the MgVideo inline methods. Hints are lazy (from __future__ import annotations) so there is no runtime or import-speed cost. Combined with the py.typed marker from 1.6.4, downstream IDEs and type checkers now see a fully-typed public API.

Internal

  • Fixed the CI mypy step, which was aborting on a third-party file before checking our code; settings are now centralised in pyproject.toml and shared by CI and nox. The internal-typing backlog is tracked in #350.

Full changelog: https://github.com/fourMs/MGT-python/blob/master/CHANGELOG.md