Thank you for your interest in contributing to MemForge! This document provides guidelines for contributing.
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/MemForge.git - Install in development mode:
pip install -e . - Run tests:
python -m pytest tests/
# Create virtual environment
python -m venv venv
source venv/bin/activate # Linux/Mac
# or: venv\Scripts\activate # Windows
# Install
pip install -e .
# Run tests
python -m pytest tests/ -v
# Run CLI
python -m memforge demo- Follow PEP 8
- Use type hints where possible
- Add docstrings to all public functions and classes
- Keep functions focused and small
Follow the Angular commit convention:
feat:New featuresfix:Bug fixesdocs:Documentation changesrefactor:Code refactoringtest:Test additions/changeschore:Maintenance tasks
- Create a feature branch from
main - Make your changes with tests
- Ensure all tests pass
- Submit a PR with a clear description
When filing issues, please include:
- Python version
- Operating system
- Minimal reproduction steps
- Expected vs actual behavior
By contributing, you agree that your contributions will be licensed under the MIT License.