Thank you for your interest in contributing to OpenAdapt Bootstrap!
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/openadapt-bootstrap.git - Install dependencies:
uv sync --dev - Create a branch:
git checkout -b feature/your-feature-name
uv run pytest tests/ -vWe use Ruff for linting and formatting:
uv run ruff check .
uv run ruff format .- Create a new file in
workflows/(e.g.,workflows/my_workflow.py) - Subclass
Workflowfromworkflows.base - Implement the
execute()method - Add to
workflows/__init__.py - Add example usage to
examples/ - Add tests to
tests/
Example:
from workflows.base import Workflow, WorkflowResult
class MyWorkflow(Workflow):
def __init__(self, param1: str):
self.param1 = param1
def execute(self) -> WorkflowResult:
# Implementation here
return WorkflowResult(
success=True,
workflow_name="my_workflow",
artifacts=[],
logs=["Executed successfully"]
)Follow conventional commits:
feat:- New featurefix:- Bug fixdocs:- Documentation changesrefactor:- Code refactoringtest:- Test additions/changeschore:- Maintenance tasks
Example: feat: add demo generation workflow
- Ensure tests pass:
uv run pytest - Format code:
uv run ruff format . - Update documentation if needed
- Create PR with descriptive title and description
- Link related issues
Be respectful, collaborative, and constructive.
Join us on Discord or open an issue.