API文档一致性检查
-
用codex编程辅助编写API文档的格式一致性检查
2019年,我第一次接手一个开源项目的维护工作,打开readme,看到下面这段函数注释的瞬间,差点直接把笔记本合上。 def fetch_data(utl: str, timeout: int = 10, retries: int = 3): """ Fetch data from a given URL. Args: url (str): target URL. t…
2019年,我第一次接手一个开源项目的维护工作,打开readme,看到下面这段函数注释的瞬间,差点直接把笔记本合上。 def fetch_data(utl: str, timeout: int = 10, retries: int = 3): """ Fetch data from a given URL. Args: url (str): target URL. t…