Skip to content

Latest commit

 

History

History
75 lines (51 loc) · 2.07 KB

File metadata and controls

75 lines (51 loc) · 2.07 KB

Contributing to KiLM

Thank you for your interest in contributing to KiLM (KiCad Library Manager)!

Complete Contributing Guide

This file provides a quick reference. For detailed guidelines, development setup, and coding standards, see our comprehensive documentation.

Contribution Types

  • Bug Reports - Help identify and fix issues
  • Feature Requests - Share ideas for improvements
  • Documentation - Improve guides and examples
  • Testing - Add tests or improve coverage
  • Code - Fix bugs or implement features

Quick Development Setup

# 1. Fork and clone
git clone https://github.com/YOUR-USERNAME/kilm.git
cd kilm

# 2. Set up development environment  
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate

# 3. Install with dev dependencies
pip install -e ".[dev]"

# 4. Verify setup
kilm --version
pytest

Complete Development Setup Guide

Quality Standards

Before submitting, ensure your code meets our standards:

# Type checking (required - zero "Any" types)
pyrefly

# Code formatting
black .

# Linting 
ruff check --fix .

# Testing
pytest --cov=kicad_lib_manager

Pull Request Process

  1. Create feature branch: git checkout -b feature/my-feature
  2. Make changes following coding standards
  3. Add tests for new functionality
  4. Run quality checks (above commands)
  5. Commit with descriptive messages (feat:, fix:, docs:)
  6. Push and create PR with clear description

Complete Pull Request Guidelines

Getting Help

License

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