Skip to content

fix: resolve mypy return-value type errors in completion#4

Merged
Bissbert merged 1 commit into
mainfrom
fix/mypy-errors
Feb 14, 2026
Merged

fix: resolve mypy return-value type errors in completion#4
Bissbert merged 1 commit into
mainfrom
fix/mypy-errors

Conversation

@Bissbert
Copy link
Copy Markdown
Contributor

Summary

  • Rename reused inside variable to brace_content and bracket_content in _detect_context() to fix mypy return-value type errors caused by variable shadowing

Test plan

  • mypy src/ passes with no errors
  • pytest passes

- Rename reused `inside` variable to `brace_content` and `bracket_content`
  to eliminate shadowed variable causing mypy return-value type mismatch

Refs: mypy strict mode compliance
@Bissbert Bissbert merged commit ff93b7e into main Feb 14, 2026
4 of 5 checks passed
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