Skip to content

Commit f83e35b

Browse files
committed
docs: add a Development section to the README
Covers uv sync, installing prek and its git hook, running the hooks and running pytest, and when the pipeline tests skip. Assisted-by: ClaudeCode:claude-opus-5-5
1 parent 9b0e317 commit f83e35b

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,23 @@ environment and notebooks to learn the pipeline.
4646

4747
+ [Documentation](https://datajoint.com/docs/elements/element-array-ephys)
4848

49+
## Development
50+
51+
This fork uses [uv](https://docs.astral.sh/uv/) and [prek](https://prek.j178.dev/)
52+
(a drop-in pre-commit runner):
53+
54+
```bash
55+
uv sync # create .venv with the dev dependency group
56+
uv tool install prek
57+
prek install # run the hooks on every commit
58+
prek run --all-files # run them once over the whole tree
59+
uv run pytest
60+
```
61+
62+
The tutorial-pipeline tests in `tests/test_pipeline.py` skip unless the `elements`
63+
extra is installed and a DataJoint database is configured (`DJ_HOST`, `DJ_USER`,
64+
`DJ_PASS`); the import smoke tests always run.
65+
4966
## Support
5067

5168
+ If you need help getting started or run into any errors, please contact our team by

0 commit comments

Comments
 (0)