Skip to content

Latest commit

 

History

History
96 lines (67 loc) · 2.04 KB

File metadata and controls

96 lines (67 loc) · 2.04 KB

Contributing to UCAI

Thank you for your interest in contributing to UCAI! This document provides guidelines and instructions for contributing.

Getting Started

  1. Fork the repository on GitHub
  2. Clone your fork locally:
    git clone https://github.com/YOUR-USERNAME/UCAI.git
    cd UCAI
  3. Set up the development environment:
    make setup
    source .venv/bin/activate

Development Workflow

Making Changes

  1. Create a feature branch:

    git checkout -b feature/your-feature-name
  2. Make your changes and ensure tests pass:

    make check  # Runs lint, type-check, and tests
  3. Commit your changes with a descriptive message:

    git commit -m "feat: add new feature"

Commit Message Format

We follow Conventional Commits:

  • feat: - New features
  • fix: - Bug fixes
  • docs: - Documentation changes
  • test: - Test additions or changes
  • refactor: - Code refactoring
  • chore: - Maintenance tasks

Running Tests

# All tests
make test

# Unit tests only
make test-unit

# With coverage
make coverage

Code Style

We use Ruff for linting and formatting:

make lint    # Check for issues
make format  # Auto-format code

Pull Requests

  1. Ensure all tests pass and code is formatted
  2. Update documentation if needed
  3. Add tests for new functionality
  4. Submit a pull request with a clear description

Reporting Issues

  • Use GitHub Issues
  • Include reproduction steps
  • Include error messages and environment details

Documentation

Full documentation is available at ucai.tech.

For detailed development setup, see the Development Guide.

License

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

Code of Conduct

Please read and follow our Code of Conduct.