unicorn-engine / unicorn

Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)
http://www.unicorn-engine.org
GNU General Public License v2.0
7.67k stars 1.35k forks source link

Add py.typed to the Python binding package #2000

Closed omer54463 closed 2 months ago

omer54463 commented 2 months ago

It seems that the python bindings have great type hints, but due to the lack of a py.typed file, mypy doesn't use them. This PR solves the issue.

omer54463 commented 2 months ago

I now realize I created a pull request into master, which is probably not what I should've done. I'm not sure whether I should create a PR into dev or next or another branch. Any help would be appreciated :)

wtdcode commented 2 months ago

Yes, this shall go do dev branch.