Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 532 Bytes

File metadata and controls

36 lines (24 loc) · 532 Bytes

Contributing code

Install the code with development dependencies:

pip install -e '.[dev]'

Format code and sort imports

black .
isort .

lint code

ruff check .

Run tests

pytest

Sync notebooks with jupytext

For easier diffs, you can use jupytext to sync notebooks in the docs/tutorial directory with the percent format.

jupytext --sync docs/tutorial/*.ipynb

This is configured in the .jupytext file in that directory.