Skip to content

Code Standards

Rust

  • Follow rustfmt defaults
  • Run cargo clippy before committing
  • All public APIs must have doc comments
Terminal window
cargo fmt --check
cargo clippy -- -D warnings

Python

  • Follow PEP 8
  • Use type annotations
  • Run ruff for linting
Terminal window
ruff check .
ruff format --check .

Commit Messages

Use conventional commits:

feat: add drift detection threshold config
fix: handle empty snapshots in replay
docs: update storage adapter examples

Pull Request Process

  1. Branch from main
  2. Write tests for new functionality
  3. Ensure all tests pass
  4. Request review from a maintainer