docs(copilot): overhaul instructions — Ruff toolchain, 100% coverage, agent workflow, modern Python

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-23 21:48:11 +00:00
parent dbea61dc0b
commit 156e0ba524
4 changed files with 57 additions and 34 deletions
+2 -1
View File
@@ -174,7 +174,8 @@ def test_create_document(db_session):
```
## Test Coverage Goals
- Aim for **80% code coverage** for all new code
- Achieve **100% test coverage** for all new code — use `# pragma: no cover` only for genuinely unreachable or platform-specific branches, with an inline comment explaining why
- Enforce the threshold: `pytest --cov=app --cov-fail-under=100`
- Focus on critical paths and error handling
- Test both success and failure scenarios
- Don't test third-party library code