Contributing Guide
Development Setup
- Clone the repository
- Create and activate virtual environment:
bash
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install dependencies:
bash
pip install .
- Run complete setup:
bash
python app_setup.py
This will interactively create the .env file and initialize the database.
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