Skip to content

Commit

Permalink
lint, mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
mscuthbert committed Jan 2, 2024
1 parent 0346793 commit 022f013
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions music21/metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2793,6 +2793,7 @@ def _isStandardUniqueName(self, uniqueName: str) -> bool:
return True
return False


# -----------------------------------------------------------------------------
# tests are in test/test_metadata
_DOC_ORDER: list[type] = []
Expand Down
4 changes: 2 additions & 2 deletions music21/musicxml/xmlToM21.py
Original file line number Diff line number Diff line change
Expand Up @@ -5696,9 +5696,9 @@ def xmlToTimeSignature(
denominators = []
for beatOrType in mxTime:
if beatOrType.tag == 'beats':
numerators.append(beatOrType.text.strip()) # may be 3+2
numerators.append(strippedText(beatOrType)) # may be 3+2
elif beatOrType.tag == 'beat-type':
denominators.append(beatOrType.text.strip())
denominators.append(strippedText(beatOrType))
elif beatOrType.tag == 'interchangeable':
break # interchangeable comes after all beat/beat-type sequences

Expand Down

0 comments on commit 022f013

Please sign in to comment.