Commit Graph

2 Commits

Author SHA1 Message Date
wumode
9d182e53b2 fix: type hints 2025-11-05 15:41:31 +08:00
wumode
ff2826a448 feat(utils): Refactor check_method to use ast
- 使用 AST 解析函数源码,相比基于字符串的方法更稳定,能够正确处理具有多行 def 语句的函数
- 为 check_method 添加了单元测试
2025-11-05 14:16:37 +08:00