Skip to content

Improve code readability by adding type hints#140

Merged
shima004 merged 1 commit intomainfrom
fix/add-type-hint
Apr 7, 2026
Merged

Improve code readability by adding type hints#140
shima004 merged 1 commit intomainfrom
fix/add-type-hint

Conversation

@shima004
Copy link
Copy Markdown
Member

@shima004 shima004 commented Apr 7, 2026

This pull request updates the initialization of several class attributes across multiple files to include explicit type annotations. This change improves code clarity, helps with static type checking, and enhances maintainability by making the expected types of instance variables clear.

Type annotation improvements:

  • Added explicit type annotations to instance variables in the ExtendAction class constructor in extend_action.py.
  • Added explicit type annotations to instance variables in the CommandExecutor class constructor in command_executor.py.
  • Added explicit type annotations to instance variables in the CommandPicker class constructor in command_picker.py.

@shima004 shima004 self-assigned this Apr 7, 2026
@shima004 shima004 merged commit f917617 into main Apr 7, 2026
4 checks passed
@shima004 shima004 deleted the fix/add-type-hint branch April 7, 2026 04:17
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