Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conforms tuple to list before assignment to fix mypy error #1581

Closed
wants to merge 2 commits into from

Conversation

nivlekp
Copy link
Member

@nivlekp nivlekp commented Mar 16, 2024

The new mypy (1.9.0) complains that

/tmp/abjad/abjad/score.py:2580: error: Incompatible types in assignment (expression has type "tuple[NamedPitch, ...]", variable has type "list[NamedPitch]")  [assignment]

See this line for example

This PR is to fix this error.

Edit: Turns out there is another CI error with pytest as well. Hopefully my new commit fixes it.

@trevorbaca trevorbaca closed this Apr 19, 2024
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