Add type hinting

Lots of functions were using *args and **kwargs that were kind of
useless with type hinting, so I explicitly named every possible argument
and its type. It breaks backward compatibility (sort of) because you can
pass nonsense arguments anymore.
This commit is contained in:
Yotam Nachum authored and Orip committed 2022-09-12 20:59:52 +03:00
1 parent fc00ac2b75
commit 057d901c06
4 files changed
+586 -443

No files matched your search

+1
View File
@@ -299,6 +299,7 @@ if __name__ == "__main__":
"Topic :: Software Development :: Libraries :: Python Modules",
],
packages=["frida"],
package_data={"frida": ["py.typed"]},
ext_modules=[Extension("_frida", [])],
cmdclass={"build_ext": FridaPrebuiltExt},
zip_safe=False,