Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.44 KB

File metadata and controls

53 lines (35 loc) · 1.44 KB

Contributing

Thank you for your interest in contributing to the MCP Python SDK! This document provides guidelines and instructions for contributing.

Development Setup

  1. Install uv
  2. Make sure you have Python 3.11+ installed
  3. Fork the repository
  4. Clone your fork: git clone https://github.com/YOUR-USERNAME/jua-python-sdk.git
  5. Install dependencies:
uv sync --frozen --all-extras --dev

Development Workflow

  1. Create a new branch from main

  2. Make your changes

  3. Commit your changes

  4. Ensure linting & unittests pass:

just check-commit
  1. Submit a pull request to the same branch you branched from

Code Style

  • We use ruff for linting and formatting
  • Follow PEP 8 style guidelines
  • Add type hints to all functions
  • Include docstrings for public classes & functions

Pull Request Process

  1. Update documentation as needed
  2. Add tests for new functionality (use pytest)
  3. Ensure CI passes
  4. Maintainers will review your code
  5. Address review feedback

License

By contributing, you agree that your contributions will be licensed under the MIT License.