Development Guide¶
Guide for setting up a development environment and contributing to path-comment-hook.
Development Setup¶
Prerequisites¶
- Python 3.8+
- Poetry
- Git
Installation¶
Running Tests¶
Code Quality¶
Project Structure¶
path-comment-hook/
├── src/path_comment/ # Main package
├── tests/ # Test suite
├── docs/ # Documentation
├── examples/ # Usage examples
└── scripts/ # Development scripts
Contributing Guidelines¶
- Fork the repository
- Create a feature branch
- Make changes with tests
- Run quality checks
- Submit pull request
Code Standards¶
- Type hints required
- 90%+ test coverage
- Google-style docstrings
- Ruff formatting
Release Process¶
- Update version
- Update changelog
- Create release PR
- Tag and publish