From 91d4d5eada2563e7e9e3d1fdeee8ddc89362b8b2 Mon Sep 17 00:00:00 2001 From: fullsend-code <278716306+fullsend-ai-coder[bot]@users.noreply.github.com> Date: Wed, 9 Sep 2026 21:17:05 +0000 Subject: [PATCH] docs(#8): add testing and type annotation conventions Add three convention bullets to the Conventions section of AGENTS.md to guide code agents on consistent practices: - Return type annotations required on all functions, including -> None for void functions - Test naming pattern: test__ - Test run command: uv run pytest tests/ -v These conventions codify patterns established in PR #7 and prevent review-fix cycles for naming inconsistency and missing annotation findings. Closes #8 --- AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index ce2fa56..65f41d2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -25,3 +25,6 @@ be determined, it falls back to "Hello World". - Source code lives under `src/fullsend_python/`. - Keep the application entry point in `src/fullsend_python/main.py`. - Document requirements in the `docs/` folder. +- All functions must have return type annotations (use `-> None` for functions that return nothing). +- Test functions follow the pattern `test__` (e.g., `test_get_greeting_name_returns_username`). +- Run tests with `uv run pytest tests/ -v`.