• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nocarryr / python-dispatch / 43082079154
97%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2026 06:54PM UTC
Jobs 4
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Nov 2026 06:53PM UTC coverage: 97.412% (-0.8%) from 98.21%
43082079154

push

github

web-flow
Improve dispatcher and observable property typing (#147)

## Summary
Continue the incremental core typing work without changing dispatcher or observable behavior.

- Describe dynamically created dispatcher registries and observable mixin state to type checkers.
- Keep private mangled names out of the static API, using narrow ignores for existing cross-class storage accesses.
- Add subclass initialization and nested observable regression tests, and update the modernization plan.
- Reduce the non-blocking core mypy baseline from 23 to 9 diagnostics; remaining contract and ownership issues are left visible.

## Validation
- Core and documentation suite: 65 passed on Python 3.13.
- Sphinx plugin suite: 16 passed on Python 3.13.
- Focused dispatcher and property tests passed on Python 3.11 and 3.14.
- After the final private-name adjustment: 18 focused tests and CI-scoped Ruff passed; mypy reported the expected 9 remaining diagnostics.

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
  * Nested observable lists and dictionaries now keep their defaults isolated between instances, and repeated property access returns the same container.
  * Dispatcher construction now correctly invokes event initialization when a subclass defines a similarly named method.
* **Internal Improvements**
  * Expanded type annotations for dispatcher registries and observable property storage.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

10 of 17 new or added lines in 2 files covered. (58.82%)

828 of 850 relevant lines covered (97.41%)

3.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
95.13
-2.11% pydispatch/properties.py
2
95.8
-1.32% pydispatch/dispatch.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.12 - 43082079154.1 11 Nov 2026 06:54PM UTC 9
96.59
GitHub Action Run
2 run-3.13 - 43082079154.2 11 Nov 2026 06:54PM UTC 9
96.59
GitHub Action Run
3 run-3.14 - 43082079154.3 11 Nov 2026 06:54PM UTC 9
97.17
GitHub Action Run
4 run-3.11 - 43082079154.4 11 Nov 2026 06:54PM UTC 9
96.59
GitHub Action Run
Source Files on build 43082079154
  • Tree
  • List 9
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e75f8f81 on github
  • Prev Build on master (#43057438674)
  • Next Build on master (#43122576189)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc