agentlane/ docs
On this page

Python

These pages hold the Python conventions referenced by AGENTS.md. Read the page that matches the work you are doing instead of treating AGENTS.md as a long-form style manual.

Pages

  1. Imports and typing: import paths, annotation rules, and type boundary constraints.
  2. Conventions: Python style, docstrings, async patterns, error handling, and framework-specific rules.
  3. Comments: comment, docstring, and field comment expectations.
  4. Module layout and exports: file naming, package layout, __init__.py usage, and export rules.
  5. Testing and pull requests: test conventions, fixture placement, PR expectations, and commit message guidance.
  6. Tool design: first-party tool contracts, model-facing results, error boundaries, docs, examples, and tests.