Contributing¶
Thanks for considering contributing to Context Teleport. This section covers everything you need to get started.
Development setup¶
git clone https://github.com/Mauricio-xx/context-teleport.git
cd context-teleport
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
# Optional: watchdog support for context-teleport watch
pip install -e ".[watch]"
Running tests¶
# Full suite (930+ tests)
pytest tests/ -v
# Specific modules
pytest tests/adapters/ -v
pytest tests/mcp/ -v
pytest tests/eda/ -v
pytest tests/sources/ -v
See Testing for the full test architecture guide.
Linting¶
Code should pass ruff check with no new warnings. Existing files may have pre-existing warnings -- do not fix unrelated lint in your PR.
Code style¶
- Python 3.11+ features are fine (
|union types,matchstatements, etc.) - Type hints on public functions
- Docstrings on modules, classes, and public methods
- Line length: 100 characters (configured in
pyproject.toml)
Pull request process¶
- Fork and create a feature branch from
main - Write tests for new functionality
- Ensure
pytest tests/ -vpasses andruff check src/ tests/is clean - Open a PR against
mainwith a clear description - Your first PR constitutes agreement to the CLA
Extending Context Teleport¶
- Adding Adapters -- How to implement support for a new agent tool
- Adding EDA Parsers -- How to implement a new EDA artifact parser