Skip to content

Code Style and Conventions

This guide outlines the coding standards and conventions for Coho. Take it with a grain of salt.

General Guidelines

  • Code Style: Follow PEP 8 as closely as possible.
  • Indentation: 4 spaces (no tabs)
  • Line Length: Maximum 88 characters
  • Docstrings: Use Google-style docstrings.
  • Type Hints: Include type hints for all public APIs.

Example Style

Note: This section is under development.

Now that you've developed your code, check out how to submit a pull request.