@@ -215,11 +215,6 @@ executor.type = "uv"
215215
216216[tool .poe .tasks ]
217217markdown-code-lint = " uv run python check_md_code_blocks.py 'README.md' './packages/**/README.md' './samples/**/*.md' --exclude cookiecutter-agent-framework-lab --exclude tau2 --exclude 'packages/devui/frontend'"
218- docs-install = " uv sync --all-packages --all-extras --dev -U --prerelease=if-necessary-or-explicit --group=docs"
219- docs-clean = " rm -rf docs/build"
220- docs-build = " uv run python ./docs/generate_docs.py"
221- docs-debug = " uv run python -m debugpy --listen 5678 ./docs/generate_docs.py"
222- docs-rename = " mv docs/build/agent-framework-core docs/build/agent-framework"
223218pre-commit-install = " uv run pre-commit install --install-hooks --overwrite"
224219install = " uv sync --all-packages --all-extras --dev -U --prerelease=if-necessary-or-explicit --no-group=docs"
225220test = " python run_tasks_in_packages_if_exists.py test"
@@ -239,21 +234,23 @@ build = ["build-packages", "build-meta"]
239234publish = " uv publish"
240235# combined checks
241236check = [" fmt" , " lint" , " pyright" , " mypy" , " test" , " markdown-code-lint" ]
242- pre-commit-check = [" fmt" , " lint" , " pyright" , " markdown-code-lint" ]
243237
244238[tool .poe .tasks .all-tests-cov ]
245239cmd = """
246240pytest --import-mode=importlib
247241--cov=agent_framework
242+ --cov=agent_framework_core
248243--cov=agent_framework_a2a
249244--cov=agent_framework_ag_ui
245+ --cov=agent_framework_anthropic
250246--cov=agent_framework_azure_ai
251247--cov=agent_framework_azurefunctions
252248--cov=agent_framework_chatkit
253249--cov=agent_framework_copilotstudio
254250--cov=agent_framework_mem0
255- --cov=agent_framework_redis
256251--cov=agent_framework_purview
252+ --cov=agent_framework_redis
253+ --cov-config=pyproject.toml
257254--cov-report=term-missing:skip-covered
258255--ignore-glob=packages/lab/**
259256--ignore-glob=packages/devui/**
@@ -282,50 +279,31 @@ packages/azure-ai/tests
282279[tool .poe .tasks .venv ]
283280cmd = " uv venv --clear --python $python"
284281args = [{ name = " python" , default = " 3.13" , options = [' -p' , ' --python' ] }]
282+
285283[tool .poe .tasks .setup ]
286284sequence = [
287285 { ref = " venv --python $python" },
288286 { ref = " install" },
289287 { ref = " pre-commit-install" }
290288]
291289args = [{ name = " python" , default = " 3.13" , options = [' -p' , ' --python' ] }]
292- [tool .poe .tasks .docs-full ]
293- sequence = [
294- { ref = " clean-dist" },
295- { ref = ' build' },
296- { ref = " docs-clean" },
297- { ref = " docs-build" },
298- { ref = " docs-rename" }
299- ]
300- [tool .poe .tasks .docs-full-setup-install ]
301- sequence = [
302- { ref = " setup --python 3.11" },
303- { ref = " docs-install" },
304- { ref = ' build' },
305- { ref = " docs-clean" },
306- { ref = " docs-build" },
307- { ref = " docs-rename" }
308- ]
309- [tool .poe .tasks .docs-full-install ]
310- sequence = [
311- { ref = " docs-install" },
312- { ref = ' build' },
313- { ref = " docs-clean" },
314- { ref = " docs-build" },
315- { ref = " docs-rename" }
316- ]
317- [tool .poe .tasks .docs-rebuild ]
318- sequence = [
319- { ref = " docs-clean" },
320- { ref = " docs-build" },
321- { ref = " docs-rename" }
322- ]
323- [tool .poe .tasks .docs-rebuild-debug ]
290+
291+ [tool .poe .tasks .pre-commit-markdown-code-lint ]
292+ cmd = " uv run python check_md_code_blocks.py ${files} --no-glob --exclude cookiecutter-agent-framework-lab --exclude tau2 --exclude 'packages/devui/frontend'"
293+ args = [{ name = " files" , default = " ." , positional = true , multiple = true }]
294+
295+ [tool .poe .tasks .pre-commit-pyright ]
296+ cmd = " uv run python run_tasks_in_changed_packages.py pyright ${files}"
297+ args = [{ name = " files" , default = " ." , positional = true , multiple = true }]
298+
299+ [tool .poe .tasks .pre-commit-check ]
324300sequence = [
325- { ref = " docs-clean" },
326- { ref = " docs-debug" },
327- { ref = " docs-rename" }
301+ { ref = " fmt" },
302+ { ref = " lint" },
303+ { ref = " pre-commit-pyright ${files}" },
304+ { ref = " pre-commit-markdown-code-lint ${files}" }
328305]
306+ args = [{ name = " files" , default = " ." , positional = true , multiple = true }]
329307
330308[tool .setuptools .packages .find ]
331309where = [" packages" ]
0 commit comments