We welcome contributions to DocIngest! This document provides guidelines for contributing to the project.
- Fork the repository on GitHub
- Clone your forked repository
- Create a new branch for your feature or bugfix
# Create a virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install development dependencies
pip install -r requirements.txt
pip install -r requirements-dev.txt
# Install pre-commit hooks
pre-commit install
# Run all tests
pytest tests/
# Run with coverage
coverage run -m pytest
coverage report
- We use
black
for code formatting - We use
flake8
for linting - We use
mypy
for type checking
Before submitting a PR, ensure your code passes all checks:
pre-commit run --all-files
- Ensure all tests pass
- Add tests for new functionality
- Update documentation if needed
- Write clear, concise commit messages
- Submit a pull request with a description of your changes
- Use GitHub Issues to report bugs
- Provide a clear, detailed description
- Include steps to reproduce the issue
- If possible, include a minimal reproducible example
- Be respectful and inclusive
- Provide constructive feedback
- Collaborate and support each other
Thank you for contributing to DocIngest!