Skip to content

Add modern typing requirement to repo.md#24

Merged
malhotra5 merged 1 commit intomainfrom
openhands/add-modern-typing-requirement
Sep 3, 2025
Merged

Add modern typing requirement to repo.md#24
malhotra5 merged 1 commit intomainfrom
openhands/add-modern-typing-requirement

Conversation

@malhotra5
Copy link
Collaborator

Summary

This PR adds a concise sentence to the repo.md file stating the requirement to use modern typing syntax when working with types in the codebase.

Changes

  • Added a new "Typing Requirements" section to the Development Guidelines in .openhands/microagents/repo.md
  • Specifically mentions preferring | None over Optional as an example of modern typing syntax

Issue

Fixes #23

Testing

This is a documentation-only change, so no additional tests are required.

@malhotra5 can click here to continue refining the PR

- 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>
@malhotra5 malhotra5 merged commit b539609 into main Sep 3, 2025
3 checks passed
@malhotra5 malhotra5 deleted the openhands/add-modern-typing-requirement branch September 5, 2025 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

repo.md should state modern typing requirement

2 participants