Skip to content

Commit 962f0fe

Browse files
Enhance type annotations and error handling in Android build script
- Added type hints for function parameters and return types to improve code clarity and type checking. - Enhanced error handling in subprocess calls to provide clearer error messages and prevent crashes. - Updated the `parse_args` function to validate paths for site-packages and working directories. - Improved the `list_devices` and `find_device` functions to handle exceptions and provide informative error messages. - Refactored several functions to use more specific types from the `typing` module for better type safety.
1 parent 667a86e commit 962f0fe

File tree

1 file changed

+179
-114
lines changed

1 file changed

+179
-114
lines changed

0 commit comments

Comments
 (0)