ITADN

Optimize document_cli_flags.py working on issue #81

#103Pull RequestYashRL 创建于 2024-03-13
Y
YashRLcommented
1. **Removed Future Import**: Removed the `from __future__ import annotations` import, as it's unnecessary in Python 3.7 and later. 2. **Simplified Version Check**: Simplified the version check for Python 3.10 or later. 3. **Removed Unused Imports**: Removed unused imports to clean up the code. 4. **Simplified Type Annotation**: Removed the type annotation for `action.type` in the `format_action` function to simplify the code. 5. **Improved Readability**: Made minor formatting improvements to enhance readability.
合并状态:未合并 0 条评论