@@ -60,11 +60,17 @@ pydantic-ai-examples = { workspace = true }
60
60
mcp-run-python = { workspace = true }
61
61
62
62
[tool .uv .workspace ]
63
- members = [" pydantic_ai_slim" , " pydantic_evals" , " pydantic_graph" , " mcp-run-python" , " examples" ]
63
+ members = [
64
+ " pydantic_ai_slim" ,
65
+ " pydantic_evals" ,
66
+ " pydantic_graph" ,
67
+ " mcp-run-python" ,
68
+ " examples" ,
69
+ ]
64
70
65
71
[dependency-groups ]
66
72
# dev dependencies are defined in `pydantic-ai-slim/pyproject.toml` to allow for minimal testing
67
- lint = [" mypy>=1.11.2" , " pyright>=1.1.388,<1.1. 390" , " ruff>=0.6.9" ]
73
+ lint = [" mypy>=1.11.2" , " pyright>=1.1.390" , " ruff>=0.6.9" ]
68
74
docs = [
69
75
" black>=24.10.0" ,
70
76
" bs4>=0.0.2" ,
@@ -132,12 +138,24 @@ reportMissingTypeStubs = false
132
138
reportUnnecessaryIsInstance = false
133
139
reportUnnecessaryTypeIgnoreComment = true
134
140
reportMissingModuleSource = false
135
- include = [" pydantic_ai_slim" , " pydantic_evals" , " pydantic_graph" , " mcp-run-python" , " examples" , " tests" ]
141
+ include = [
142
+ " pydantic_ai_slim" ,
143
+ " pydantic_evals" ,
144
+ " pydantic_graph" ,
145
+ " mcp-run-python" ,
146
+ " tests" ,
147
+ " examples" ,
148
+ ]
136
149
venvPath = " .venv"
137
150
# see https://github.com/microsoft/pyright/issues/7771 - we don't want to error on decorated functions in tests
138
151
# which are not otherwise used
139
- executionEnvironments = [{ root = " tests" , reportUnusedFunction = false }]
140
- exclude = [" examples/pydantic_ai_examples/weather_agent_gradio.py" , " mcp-run-python/node_modules" ]
152
+ executionEnvironments = [
153
+ { root = " tests" , reportUnusedFunction = false , reportPrivateImportUsage = false },
154
+ ]
155
+ exclude = [
156
+ " examples/pydantic_ai_examples/weather_agent_gradio.py" ,
157
+ " mcp-run-python/node_modules" ,
158
+ ]
141
159
extraPaths = [" mcp-run-python/stubs" ]
142
160
143
161
[tool .mypy ]
@@ -154,7 +172,7 @@ filterwarnings = [
154
172
" ignore::RuntimeWarning:pydantic_ai.mcp" ,
155
173
# uvicorn (mcp server)
156
174
" ignore:websockets.legacy is deprecated.*:DeprecationWarning:websockets.legacy" ,
157
- " ignore:websockets.server.WebSocketServerProtocol is deprecated:DeprecationWarning"
175
+ " ignore:websockets.server.WebSocketServerProtocol is deprecated:DeprecationWarning" ,
158
176
]
159
177
160
178
# https://coverage.readthedocs.io/en/latest/config.html#run
0 commit comments