Skip to content

Fix mypy issues uncovered by compiling with mypyc - #2587

Merged
DanielNoord merged 1 commit into
PyCQA:mainfrom
DanielNoord:mypy-fixes
Jul 16, 2026
Merged

Fix mypy issues uncovered by compiling with mypyc#2587
DanielNoord merged 1 commit into
PyCQA:mainfrom
DanielNoord:mypy-fixes

Conversation

@DanielNoord

Copy link
Copy Markdown
Member

Taken from #2586

Some fixes unearthed by code compiled by mypyc being stricter about the actual types at runtime.

@DanielNoord
DanielNoord marked this pull request as ready for review July 16, 2026 21:57
@DanielNoord
DanielNoord enabled auto-merge July 16, 2026 21:57
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.39%. Comparing base (d75b093) to head (8790581).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2587   +/-   ##
=======================================
  Coverage   99.39%   99.39%           
=======================================
  Files          41       41           
  Lines        3146     3147    +1     
  Branches      680      680           
=======================================
+ Hits         3127     3128    +1     
  Misses         11       11           
  Partials        8        8           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DanielNoord
DanielNoord added this pull request to the merge queue Jul 16, 2026
Merged via the queue into PyCQA:main with commit 68356ea Jul 16, 2026
26 checks passed
@DanielNoord
DanielNoord deleted the mypy-fixes branch July 16, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant