chore: auto ann fix by ruff (#4903)

* chore: auto fix by ruff

* refactor: 统一修正返回类型注解为 None/bool 以匹配实现

* refactor: 将 _get_next_page 改为异步并移除多余的请求错误抛出

* refactor: 将 get_client 的返回类型改为 object

* style: 为 LarkMessageEvent 的相关方法添加返回类型注解 None

---------

Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com>
This commit is contained in:
Dt8333
2026-02-09 00:22:24 +08:00
committed by GitHub
parent e1b71540c7
commit 7dd95d8a59
183 changed files with 785 additions and 732 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ def generate_simple_changelog(commits):
return changelog_zh + changelog_en
def main():
def main() -> None:
parser = argparse.ArgumentParser(description="Generate changelog from git commits")
parser.add_argument(
"--version", help="Version number for the changelog (e.g., v4.13.3)"