Skip to content

fix(types): add missing type hints to 4 function parameters - #831

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
fix/code-quality/add-missing-type-hints
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
fix/code-quality/add-missing-type-hints

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

Adds missing type hints to 4 function parameters identified in the code quality report.

Changes

  • mcp_side_panel.py: Added type hints for first_server_spec and second_server_spec parameters in _check_server_specs_are_equal
  • richlog_visualizer.py: Added Callable[..., None] type hint for func parameter in _run_on_main_thread
  • richlog_visualizer.py: Added Event type hint for event parameter in _extract_meaningful_title
  • single_line_input.py: Added Key type hint for event parameter in _on_key

Related Issue

Addresses findings from #830

Testing

  • Linting passes (make lint)
  • Tests pass (make test - 1361 tests)

This PR was automatically generated by the Code Quality Report workflow.

Addresses item from code quality report:
- mcp_side_panel.py: type hints for first_server_spec, second_server_spec
- richlog_visualizer.py: type hint for func parameter (Callable)
- richlog_visualizer.py: type hint for event parameter (Event)
- single_line_input.py: type hint for event parameter (Key)

Closes #830
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.

0 participants