Skip to content

Improve SpriteList annotations + color_normalized validation #2067

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

Merged

Conversation

pushfoo
Copy link
Member

@pushfoo pushfoo commented Apr 19, 2024

Changes

TL;DR: Help 3.0-mandatory #1867 by adding typing + tests to SpriteList

  1. Add missing annotations or improve existing ones
  2. Add length check for SpriteList.color_normalized setter
  3. Add tests for SpriteList.color_normalized behavior

@eruvanos eruvanos merged commit b004e52 into pythonarcade:development Apr 23, 2024
8 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.

3 participants