Skip to content

Commit f2cb5fb

Browse files
committed
update type annotations instructions in agents.md
Remove the instructions to the agent to use type annotations. We can rely on the linter to catch issues.
1 parent 8c46b51 commit f2cb5fb

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

AGENTS.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
### Do
2020

21-
- **Type annotations REQUIRED** on ALL functions including tests. Use syntax compatible with Python 3.11+
22-
- Use `X | None` not `Optional[X]`
2321
- Add docstrings on all public functions and classes
2422
- Use file-scoped commands for fast feedback (see below)
2523
- Follow existing patterns - search codebase for similar code
@@ -29,8 +27,6 @@
2927

3028
### Don't
3129

32-
- Don't use `Optional[X]` syntax (use `X | None`)
33-
- Don't omit type annotations or return types
3430
- Don't run full test suite for small changes (use file-scoped)
3531
- Don't create temporary helper scripts or workarounds
3632
- Don't commit without running quality checks

0 commit comments

Comments
 (0)