Skip to content

Comments

feat: add comprehensive type hints to miner/token_mgmt.py#190

Merged
anderdc merged 2 commits intoentrius:testfrom
tommyhgunz14:feat/add-token-mgmt-type-hints
Feb 18, 2026
Merged

feat: add comprehensive type hints to miner/token_mgmt.py#190
anderdc merged 2 commits intoentrius:testfrom
tommyhgunz14:feat/add-token-mgmt-type-hints

Conversation

@tommyhgunz14
Copy link
Contributor

@tommyhgunz14 tommyhgunz14 commented Feb 16, 2026

  • Add return type hints to init(), load_token(), and is_token_valid()
  • Add parameter type hint for token argument in is_token_valid()
  • Import Optional from typing for nullable return types
  • Enhance docstrings with Args, Returns, and Raises sections
  • Improves IDE support, type safety, and code maintainability

Summary

Related Issues

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Testing

  • Tests added/updated
  • Manually tested

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Changes are documented (if applicable)

tommyhgunz14 and others added 2 commits February 16, 2026 20:08
- Add return type hints to init(), load_token(), and is_token_valid()
- Add parameter type hint for token argument in is_token_valid()
- Import Optional from typing for nullable return types
- Enhance docstrings with Args, Returns, and Raises sections
- Improves IDE support, type safety, and code maintainability
@anderdc anderdc merged commit b81e1fd into entrius:test Feb 18, 2026
2 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.

2 participants