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

Fix incorrect type annotations #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mike8699
Copy link
Contributor

It seems some of the type annotations I added in #16 and #18 were incorrect. I discovered this after upgrading my project to use ndspy 4.2.0, and it started failing type checking (PR, failed mypy CI run).

I confirmed the decompress return type is bytearray by calling it on a compressed ARM9 bytes object and calling type() on it. The type of Overlay.data is easily confirmed as a bytearray by looking at the __init__ constructor for that class.

mike8699 added a commit to phst-randomizer/ph-randomizer that referenced this pull request Sep 29, 2024
Temporary measure until RoadrunnerWMC/ndspy#22
is merged.
mike8699 added a commit to phst-randomizer/ph-randomizer that referenced this pull request Dec 28, 2024
Temporary measure until RoadrunnerWMC/ndspy#22
is merged.
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.

1 participant