@@ -29,10 +29,11 @@ dependencies = [
2929 " dict2xml>=1.7.7" ,
3030 " httpx[http2,socks]>=0.28.1" ,
3131 " tomli>=2.2.1; python_version < '3.11'" ,
32- " pydantic>=2.12.0a1" ,
32+ # "pydantic>=2.12.0a1",
33+ " pydantic==2.11.9" ,
3334 " returns>=0.26.0" ,
3435]
35- optional-dependencies.mcp = [" fastmcp>=2.10.2 " ]
36+ optional-dependencies.mcp = [" fastmcp>=2.12.3 " ]
3637
3738[project .urls ]
3839Homepage = " https://github.com/yutto-dev/yutto"
@@ -45,11 +46,11 @@ yutto = "yutto.__main__:main"
4546
4647[dependency-groups ]
4748dev = [
48- " pyright>=1.1.404 " ,
49- " ruff>=0.12.11 " ,
50- " typos>=1.35.6 " ,
51- " pytest>=8.4.1 " ,
52- " pytest-rerunfailures>=16.0" ,
49+ " pyright>=1.1.405 " ,
50+ " ruff>=0.13.0 " ,
51+ " typos>=1.36.2 " ,
52+ " pytest>=8.4.2 " ,
53+ " pytest-rerunfailures>=16.0.1 " ,
5354 " syrupy>=4.9.1" ,
5455 " pytest-codspeed>=4.0.0" ,
5556]
@@ -111,11 +112,11 @@ select = [
111112 " RUF100" ,
112113]
113114ignore = [
114- " E501" , # line too long, duplicate with ruff fmt
115- " F401" , # imported but unused, duplicate with pyright
116- " F841" , # local variable is assigned to but never used, duplicate with pyright
117- " UP038" , # It will cause the performance regression on python3.10
115+ " E501" , # line too long, duplicate with ruff fmt
116+ " F401" , # imported but unused, duplicate with pyright
117+ " F841" , # local variable is assigned to but never used, duplicate with pyright
118118]
119+ future-annotations = true
119120
120121[tool .ruff .lint .isort ]
121122required-imports = [" from __future__ import annotations" ]
@@ -124,6 +125,7 @@ combine-as-imports = true
124125
125126[tool .ruff .lint .flake8-type-checking ]
126127runtime-evaluated-base-classes = [" pydantic.BaseModel" ]
128+ runtime-evaluated-decorators = [" fastmcp.FastMCP.tool" ]
127129
128130[tool .ruff .lint .per-file-ignores ]
129131"setup.py" = [" I" ]
0 commit comments