Skip to content

fix(types): add class attribute type annotations - #820

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
fix/code-quality/class-attribute-annotations
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
fix/code-quality/class-attribute-annotations

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds missing class-level type annotations for improved type safety and IDE support.

Changes

  • Added config_dir: Path and api_key_file: Path annotations to TokenStorage class
  • Added _container, _app, _name, _main_thread_id, _cli_settings, _pending_actions annotations to ConversationVisualizer class

Related Issue

Addresses findings from #819 (Low-Hanging Fruit items #1 and #2)

Testing

  • Linting passes (make lint)
  • Tests pass (make test)

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

This message was generated by an AI agent (OpenHands) on behalf of the user.

Adds missing class-level type annotations to:
- TokenStorage: config_dir, api_key_file
- ConversationVisualizer: _container, _app, _name, _main_thread_id,
  _cli_settings, _pending_actions

Addresses item from code quality report.

Closes #819

Co-authored-by: openhands <openhands@all-hands.dev>
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