github Dicklesworthstone/mcp_agent_mail v0.1.2
v0.1.2 - CI Type Checker Fixes

latest releases: v0.3.0, v0.2.1, v0.2.0...
one month ago

What's Changed

Bug Fixes

Type Checker Errors Fixed

Fixed all type errors that were causing CI failures and blocking Docker image builds:

cli.py:

  • Lines 3293-3303: Added explicit cast(Path, path_item) for rglob() results
    • The type checker infers Path | Buffer for rglob generator items, but at runtime they are always Path objects
  • Line 3928: Removed redundant cast(str, name) since name from os.walk() filenames is already typed as str

storage.py:

  • Lines 1036-1057: Added explicit cast(Path, ...) for both rglob() loops in heal_archive_locks()
  • Added cast to the typing imports

CI Status

✅ All type checks now pass
✅ All linter checks pass
✅ Docker image build should now succeed


Full Changelog: v0.1.1...v0.1.2

Don't miss a new mcp_agent_mail release

NewReleases is sending notifications on new releases.