mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
feat(typings): add stubs for Android and Java dependencies to support type checking
This commit is contained in:
parent
89d7a008ee
commit
e6d6ae9042
4 changed files with 13 additions and 0 deletions
1
typings/able/__init__.pyi
Normal file
1
typings/able/__init__.pyi
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Optional Android dependency; stub for type checking only.
|
||||
6
typings/java/__init__.pyi
Normal file
6
typings/java/__init__.pyi
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Optional Chaquopy dependency; stub for type checking only.
|
||||
|
||||
from typing import Any
|
||||
|
||||
def jclass(name: str) -> Any: ...
|
||||
def dynamic_proxy(*args: Any, **kwargs: Any) -> Any: ...
|
||||
1
typings/usb4a/__init__.pyi
Normal file
1
typings/usb4a/__init__.pyi
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Optional Android dependency; stub for type checking only.
|
||||
5
typings/usb4a/usb.pyi
Normal file
5
typings/usb4a/usb.pyi
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Optional Android dependency; stub for type checking only.
|
||||
|
||||
from typing import Any
|
||||
|
||||
def set_context(android_context: Any) -> None: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue