
- Add GitHub Actions CI/CD workflow with multi-OS testing (Ubuntu, macOS) - Add pyproject.toml for modern Python packaging with hatchling - Add pre-commit hooks for code quality (ruff, mypy, trailing whitespace) - Add Makefile for common development tasks (install, test, lint, format, build) - Add run_tests.py script for comprehensive test execution - Update requirements.txt with development dependencies - Update .gitignore for modern Python tooling (uv, ruff, pytest) - Add KiCad-specific ignore patterns for backup files This establishes a robust development workflow with: - Automated testing on Python 3.10, 3.11, 3.12 - Code formatting and linting with ruff - Type checking with mypy - Coverage reporting with pytest-cov - Package building with uv 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
68 lines
729 B
Plaintext
68 lines
729 B
Plaintext
# Virtual Environment
|
|
venv/
|
|
env/
|
|
ENV/
|
|
.venv/
|
|
|
|
# Environment files
|
|
.env
|
|
|
|
# Python cache files
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
|
|
# Distribution / packaging
|
|
dist/
|
|
build/
|
|
*.egg-info/
|
|
|
|
# Unit test / coverage reports
|
|
htmlcov/
|
|
.tox/
|
|
.coverage
|
|
.coverage.*
|
|
.cache
|
|
nosetests.xml
|
|
coverage.xml
|
|
*.cover
|
|
.pytest_cache/
|
|
|
|
# Logs
|
|
logs/
|
|
*.log
|
|
|
|
# IDE specific files
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
.DS_Store
|
|
|
|
# MCP specific
|
|
~/.kicad_mcp/drc_history/
|
|
|
|
# UV and modern Python tooling
|
|
uv.lock
|
|
.uv-cache/
|
|
.ruff_cache/
|
|
|
|
# Pre-commit
|
|
.pre-commit-config.yaml
|
|
|
|
# KiCad backup files
|
|
*-backups/
|
|
fp-info-cache
|
|
*.bak
|
|
*.backup
|
|
*.kicad_pcb-bak
|
|
*.kicad_sch-bak
|
|
*.kicad_pro-bak
|
|
*.kicad_prl
|
|
*.kicad_prl-bak
|
|
*.kicad_sch.lck
|
|
*.kicad_pcb.lck
|
|
*.kicad_pro.lck
|