Skip to content

fix: add type annotations and fix mypy errors - #57

Merged
belarusian merged 1 commit into
mainfrom
build19/type-annotations
Aug 14, 2026
Merged

fix: add type annotations and fix mypy errors#57
belarusian merged 1 commit into
mainfrom
build19/type-annotations

Conversation

@belarusian

Copy link
Copy Markdown
Owner

Changes

  • Fix serialize_results return type annotation in alloc/core.py
  • Fix unreachable code detection for numpy scalar types
  • Fix Optional[TrainingTrial] type in alloc/cli.py
  • Fix type annotations in alloc/models/networks.py

Verification

  • 465 tests pass
  • ruff clean
  • mypy clean

- Fix serialize_results return type annotation in alloc/core.py
- Fix unreachable code detection for numpy scalar types
- Fix Optional[TrainingTrial] type in alloc/cli.py
- Fix type annotations in alloc/models/networks.py
- All 465 tests pass, ruff clean, mypy clean
@belarusian
belarusian merged commit 75aeb65 into main Aug 14, 2026
1 check passed
@belarusian
belarusian deleted the build19/type-annotations branch August 14, 2026 13:49
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