refactor: 移除多余的override装饰器并整理依赖
1. 移除graph.py和storage.py中多余的typing-extensions override装饰器 2. 精简pyproject.toml的依赖项,移除不必要的typing-extensions 3. 添加mypy作为开发依赖 4. 修复示例代码的类型注解和废弃的赋值使用
This commit is contained in:
+2
-4
@@ -10,10 +10,7 @@ classifiers = [
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
||||
]
|
||||
dependencies = [
|
||||
"graphlib_backport >= 1.0.0; python_version < '3.9'",
|
||||
"typing-extensions>=4.13.2",
|
||||
]
|
||||
dependencies = ["graphlib_backport >= 1.0.0; python_version < '3.9'"]
|
||||
description = "Lightweight, type-safe DAG task scheduler with multi-strategy execution."
|
||||
keywords = ["async", "dag", "scheduler", "task", "workflow"]
|
||||
license = { text = "MIT" }
|
||||
@@ -30,6 +27,7 @@ dev = [
|
||||
"basedpyright>=1.39.8",
|
||||
"hatch>=1.14.2",
|
||||
"httpx>=0.28.0",
|
||||
"mypy>=1.14.1",
|
||||
"prek>=0.4.5",
|
||||
"pytest-asyncio>=0.24.0",
|
||||
"pytest-cov>=5.0.0",
|
||||
|
||||
Reference in New Issue
Block a user