Thanks for your interest in contributing! This document covers everything you need to get started.
- Python >= 3.10
- Foundry (for integration tests)
git clone https://github.com/StrobeLabs/perpcity-python-sdk.git
cd perpcity-python-sdk
pip install -e ".[dev]"# Run unit tests
make test
# Run integration tests (spawns Anvil automatically)
make test-integration
# Lint and format check
make lint
# Auto-format
make format
# Full CI check (lint + unit tests)
make ci- Fork the repo and create a branch from
main - Write your code and add tests for new functionality
- Run
make cito verify everything passes - Open a PR against
main
- Follow Ruff formatting and linting rules (enforced by CI)
- Type hints encouraged
- Write tests using pytest
- Use the bug report template for bugs
- Use the feature request template for new features
- Include SDK version, Python version, and steps to reproduce
By contributing, you agree that your contributions will be licensed under the MIT License.