Skip to content

Remove effectively unreachable code and improve type hints for better type inference. - #977

Merged
junkmd merged 10 commits into
enthought:mainfrom
junkmd:remove_unreachable_and_infer_variance_hints
Oct 25, 2026
Merged

junkmd merged 10 commits into
enthought:mainfrom
junkmd:remove_unreachable_and_infer_variance_hints

Conversation

@junkmd

@junkmd junkmd commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

This is a similar case to #973.

@junkmd junkmd added typing related to Python static typing system coding style Topics related to style, formatters, linters, and delinting. debt labels Oct 25, 2026
@junkmd junkmd added this to the 1.5.0 / Support Python 3.15 milestone Oct 25, 2026
@codecov-commenter

codecov-commenter commented Oct 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.05%. Comparing base (800cb2e) to head (2deecf7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #977      +/-   ##
==========================================
+ Coverage   89.90%   90.05%   +0.14%     
==========================================
  Files         143      143              
  Lines       14192    14152      -40     
==========================================
- Hits        12760    12745      -15     
+ Misses       1432     1407      -25     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@junkmd
junkmd merged commit 3bf33b2 into enthought:main Oct 25, 2026
148 of 151 checks passed
@junkmd
junkmd deleted the remove_unreachable_and_infer_variance_hints branch October 25, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coding style Topics related to style, formatters, linters, and delinting. debt typing related to Python static typing system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants