We welcome contributions
This project uses uv to manage dependencies. See uv installation instructions.
To set up an environment for development:
git clone https://github.com/tlambert03/microsim.git
cd microsim
uv sync --all-extrasIf you want to avoid using uv run for all of the remaining commands,
you can activate the environment:
On macos/linux:
source .venv/bin/activateOn windows:
.venv\Scripts\activateRun tests with:
uv run pytestLinting and formatting is managed using pre-commit.
uv run pre-commit run --all-filesYou can have this run on every commit by installing the git hook:
uv run pre-commit installDocumentation is built using mkdocs.
To serve the documentation locally:
uv run --group docs mkdocs serve