Openhands Software Agent Sdk Code Style Guide

Code Style Guide

tomevault-io 1c7fc91 2 files · 1.5 KB Updated

File contents

Code Style Guide

Follow these conventions for all code in this project.

Python

  • Use 4 spaces for indentation
  • Maximum line length: 88 characters (Black default)
  • Use type hints for function signatures
  • Prefer f-strings over .format() or % formatting

Naming Conventions

  • Classes: PascalCase
  • Functions/variables: snake_case
  • Constants: UPPER_SNAKE_CASE
  • Private members: _leading_underscore

Documentation

  • All public functions must have docstrings
  • Use Google-style docstrings
  • Include type information in docstrings when not using type hints

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/openhands--software-agent-sdk--code-style-guide commit 1c7fc919ed

Frequently asked questions

npx skillmds@latest add tomevault-io/openhands-software-agent-sdk-code-style-guide