Skip to content

Conversation

@mscuthbert
Copy link
Member

Going in the opposite direction as #1599 -- move MusicXML <sound> tag parsing to a separate file along with several helpers to helpers.py -- both m21ToXML and xmlToM21 are getting huge! so anything to try to make these files more manageable is the right direction.

While fixing mypy errors, noticed a bunch of warnings that things that were typed were not being checked in noteworthy/binaryTranslate.py -- checked these and fixed. (TODO: make the contents of untyped functions are not checked become an error in CI)

Going in the opposite direction as #1599 -- move MusicXML `<sound>` tag parsing to a separate file along with several helpers to helpers.py -- both m21ToXML and xmlToM21 are getting huge! so anything to try to make these files more manageable is the right direction.

While fixing mypy errors, noticed a bunch of warnings that things that were typed were not being checked in noteworthy/binaryTranslate.py -- checked these and fixed.  (TODO: make the contents of untyped functions are not checked become an error in CI)
@mscuthbert mscuthbert mentioned this pull request Jul 1, 2023
@jacobtylerwalls
Copy link
Member

Maybe --check-untyped-defs?

@coveralls
Copy link

coveralls commented Jul 1, 2023

Coverage Status

coverage: 93.025% (+0.008%) from 93.017% when pulling 3509e0e on soundparser-separate-file into baf32cb on master.

@mscuthbert
Copy link
Member Author

mscuthbert commented Jul 1, 2023

Maybe --check-untyped-defs?

It's something to do with changing status of annotation-unchecked from note to error. This question shows how to make it go away completely, but not how to make it go from note to error.

I don't really want them checked until the call has a type also.

@mscuthbert mscuthbert merged commit 9951a8e into master Jul 1, 2023
@mscuthbert mscuthbert deleted the soundparser-separate-file branch July 1, 2023 22:57
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.

4 participants