Skip to content

fix: resolve mypy type errors in parser and cli#4

Merged
Bissbert merged 1 commit intomainfrom
fix/mypy-errors
Feb 14, 2026
Merged

fix: resolve mypy type errors in parser and cli#4
Bissbert merged 1 commit intomainfrom
fix/mypy-errors

Conversation

@Bissbert
Copy link
Contributor

Summary

  • Wrap self._advance().value with str() in parser.py to fix two no-any-return mypy errors
  • Use desc.flat_forms() instead of desc.forms in cli.py to fix union-attr error when iterating forms that may include FormGroup

Test plan

  • mypy src/ passes with no errors
  • pytest passes

- Wrap _advance().value with str() to satisfy no-any-return (parser.py)
- Use flat_forms() instead of .forms to fix union-attr with FormGroup (cli.py)

Refs: mypy strict mode compliance
@Bissbert Bissbert merged commit 5100138 into main Feb 14, 2026
4 of 5 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.

1 participant