v0.5.6: Full-package mypy compliance
What's new
Full-package mypy compliance (26 source files, 0 errors)
Since v0.5.4 shipped py.typed, downstream users running mypy on code that imports deltatau-audit were seeing 23 errors from 7 internal files. This release fixes all of them.
Changes:
metrics.py:Dict[str, Any]annotation on aggregation dict; renamedarrinbootstrap_cito avoid shadowingList[float]param with ndarray reassignmentwrappers/speed.py,latency.py:Optional[int]forseed;Optional[List[Any]]forschedule;_obs_buffer: dequeannotationadapters/torch_policy.py:action_out: Anyresolves conflicting branch typesadapters/cleanrl.py:assert spec is not None/assert spec.loader is not Nonebeforemodule_from_spec/exec_modulereport/generator.py:Optional[List[Any]]forcomparison; renamed binary/text file handles to prevent variable-type collisionfixer.py:Optional[List[Any]]foraudit_speeds- CI:
audit-smoke.ymlnow runsmypy deltatau_audit/(all 26 files) instead of 3
Full changelog: https://github.com/maruyamakoju/deltatau-audit/blob/main/CHANGELOG.md
Full Changelog: v0.5.5...v0.5.6