Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 1.54 KB

File metadata and controls

69 lines (49 loc) · 1.54 KB

Contributing to pydantic-deep

Thanks for your interest in contributing!

Development Setup

git clone https://github.com/vstorm-co/pydantic-deepagents.git
cd pydantic-deepagents
make install

Running Tests

make test        # Run tests with coverage
make all         # Run lint + typecheck + test

Requirements

All PRs must meet these requirements:

  • 100% test coverage — no exceptions
  • Pass Pyrightmake typecheck
  • Pass MyPymake typecheck-mypy
  • Pass Ruffmake lint

Quick Commands

Command Description
make install Install dependencies
make test Run tests with coverage
make lint Run Ruff linter
make typecheck Run Pyright
make typecheck-mypy Run MyPy
make all Run all checks
make docs-serve Serve docs locally

Running Specific Tests

# Single test
uv run pytest tests/test_agent.py::test_function_name -v

# Single file
uv run pytest tests/test_agent.py -v

# With debug output
uv run pytest tests/test_agent.py -v -s

Code Style

  • We use Ruff for linting and formatting
  • Run make lint to check and uv run ruff format . to auto-format
  • Follow existing patterns in the codebase

Pull Request Process

  1. Fork the repo and create your branch from main
  2. Make your changes
  3. Ensure make all passes
  4. Submit a PR with a clear description

Questions?

Open an issue on GitHub.