Skip to content

Commit b539609

Browse files
Add modern typing requirement to repo.md (#24)
- Added concise sentence about preferring modern typing syntax - Specifically mentions using | None instead of Optional - Fixes #23 Co-authored-by: openhands <openhands@all-hands.dev>
1 parent e980c1a commit b539609

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.openhands/microagents/repo.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ To set up the development environment:
2020
## Linting Requirements
2121
**Always run lint before committing changes.** Use `make lint` to run all pre-commit hooks on all files. The project uses:
2222

23+
## Typing Requirements
24+
When using types, prefer modern typing syntax (e.g., use `| None` instead of `Optional`).
25+
2326
## Documentation Guidelines
2427
- **Do NOT send summary updates in the README.md** for the repository
2528
- **Do NOT create .md files in the root** of the repository to track or send updates

0 commit comments

Comments
 (0)