Clone or fork the repository, then make an editable installation with all the development dependencies:
# in project root directory (parent folder of pyproject.toml)
pip install -e ".[dev]"Install pre-commit hooks to automatically check and format code before commits:
pre-commit installTo run pre-commit checks manually:
# Run on staged files only
pre-commit runLint and format with Ruff:
ruff check viscy
ruff format viscy testsRun tests with pytest:
pytest -v