Skip to content

chore: add return type hint in chain_data.py#855

Open
travellingsoldier85 wants to merge 1 commit intoopentensor:mainfrom
travellingsoldier85:auto-improve/type_hint/317f01-202603150901
Open

chore: add return type hint in chain_data.py#855
travellingsoldier85 wants to merge 1 commit intoopentensor:mainfrom
travellingsoldier85:auto-improve/type_hint/317f01-202603150901

Conversation

@travellingsoldier85
Copy link

Summary

Added return type hints to functions in bittensor_cli/src/bittensor/chain_data.py.

Changes

  • Add return type hint -> list to function

Type of Change

  • Code quality improvement (type hints)
  • Bug fix
  • New feature

Adding type hints improves IDE support, catches bugs earlier, and makes the codebase more maintainable.
No functional changes — only type annotations added.

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