Contributing to efficient-context
Thank you for considering contributing to efficient-context! This document provides guidelines and instructions for contributing.
Code of Conduct
By participating in this project, you agree to abide by our Code of Conduct.
How Can I Contribute?
Reporting Bugs
Bug reports help make efficient-context better for everyone. When reporting a bug, please include:
- A clear title and description
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Environment details (OS, Python version, etc.)
Suggesting Enhancements
We welcome suggestions for improvements! Please include:
- A clear description of the enhancement
- The rationale/use case
- Possible implementation approaches (if any)
Pull Requests
- Fork the repository
- Create a new branch for your feature or bug fix
- Make your changes with appropriate tests
- Ensure all tests pass
- Submit a pull request
Development Setup
- Clone the repository
- Create a virtual environment:
python -m venv venv
- Activate the environment:
source venv/bin/activate
(Unix) orvenv\Scripts\activate
(Windows) - Install development dependencies:
pip install -e ".[dev]"
Testing
Run tests with pytest:
pytest
Style Guide
This project follows PEP 8 with a line length of 88 characters (compatible with black).
To format code:
black .
isort .
Documentation
- Update documentation for any new features or changes
- Add docstrings for classes and functions
Contact
For questions, feel free to open an issue or contact Biswanath Roul.
Thank you for contributing to efficient-context!