Contributing Guide
Development Setup
- Clone the repository
- Create and activate virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate - Install dependencies:
pip install . - Run complete setup:
This will interactively create the .env file and initialize the database.
python app_setup.py
Development Workflow
- Create a new branch for your feature
- Write tests for new functionality
- Implement your changes
- Run the test suite:
pytest tests/ - Update documentation if needed
- Submit a pull request
Code Style
- Follow PEP 8 guidelines
- Use type hints where possible
- Include docstrings for public functions
- Keep functions focused and concise
Documentation
- Update relevant documentation in
docs/ - Use markdown format
- Include examples where appropriate
- Build docs locally:
mkdocs serve