Skip to content

Add typing to Capella parsing#1932

Merged
mscuthbert merged 6 commits into
masterfrom
typing_capella
Jun 19, 2026
Merged

Add typing to Capella parsing#1932
mscuthbert merged 6 commits into
masterfrom
typing_capella

Conversation

@mscuthbert

Copy link
Copy Markdown
Member

Not used too often so some things needed some dusting off.

AI-assisted (Claude)

AI-assisted (Claude)
Avoids the undocumented .root attribute (and its type:ignore/cast);
the document is parsed in-memory so iterparse streaming is unneeded.

AI-assisted (Claude)
.implicitOctave is typed int (not int|None), so no cast or temp
variable is needed for the octave adjustment.

AI-assisted (Claude)
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 93.11% (-0.003%) from 93.113% — typing_capella into master

@mscuthbert mscuthbert merged commit d91e66b into master Jun 19, 2026
6 of 7 checks passed
@mscuthbert mscuthbert deleted the typing_capella branch June 19, 2026 00:16
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