Skip to content

fix(types): make buildProtocol addr param Optional to satisfy LSP#2

Merged
lduchosal merged 1 commit into
mainfrom
fix/docformatter-exit-3
May 12, 2026
Merged

fix(types): make buildProtocol addr param Optional to satisfy LSP#2
lduchosal merged 1 commit into
mainfrom
fix/docformatter-exit-3

Conversation

@lduchosal
Copy link
Copy Markdown
Owner

Twisted's Factory.buildProtocol declares addr as IAddress | None. The override must accept the same type to avoid mypy LSP violation.

Twisted's Factory.buildProtocol declares addr as IAddress | None.
The override must accept the same type to avoid mypy LSP violation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.52%. Comparing base (ec4b8e6) to head (b2f5f26).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage   70.52%   70.52%           
=======================================
  Files         174      174           
  Lines        9074     9074           
  Branches      835      835           
=======================================
  Hits         6399     6399           
  Misses       2514     2514           
  Partials      161      161           

☔ View full report in Codecov by Sentry.
📢 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.

@lduchosal lduchosal merged commit 759f36d into main May 12, 2026
3 checks passed
@lduchosal lduchosal deleted the fix/docformatter-exit-3 branch May 12, 2026 05:38
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.

2 participants