Skip to content

Conversation

@pushfoo
Copy link
Member

@pushfoo pushfoo commented May 16, 2023

Changes

  • Add missing annotations to arcade.hitbox.base members
  • Add basic docstrings to arcade.hitbox.base members
  • Add protected top-level workaround constant
  • Add notes on why we don't cache axis extrema properties

Why

  • IDE tooltips & hints
  • Help anyone who reads the source

How to test

  1. Run linting & unit tests as normal
  2. Check IDE type annotation / docstring rendering for HitBox classes

Questions for reviewers

  • Is our rotation direction consistent enough that I can add it here / to the programming guide?
  • Should I update update_quick_index.py to generate this doc now?

@pvcraven pvcraven merged commit 854f16f into pythonarcade:development May 18, 2023
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