Contributing
Thank you for considering contributing to Law Graph!
Development Setup
- Fork the repository
- Clone your fork:
- Install development dependencies:
- Install pre-commit hooks:
Development Workflow
Running Tests
# Run all tests
pytest
# Run with type checking
DEV_TYPECHECK=1 pytest
# Run with coverage
pytest --cov=law_graph
Code Quality
# Lint and format
ruff check .
ruff format .
# Run pre-commit on all files
pre-commit run --all-files
Documentation
Environment Variables
DEV_TYPECHECK=1: Enable runtime type checking with beartype
Python Version
This project requires Python 3.13+ and follows modern Python practices.