@@ -29,22 +29,21 @@ dependencies = [
2929]
3030optional-dependencies.dev = [ " pre-commit" ]
3131optional-dependencies.docs = [
32+ " ipykernel" , # For notebooks
33+ " ipython" ,
34+ " myst-nb>=1.1" ,
3235 " sphinx>=7" ,
33- " sphinx-book-theme>=1.1.0" ,
34- " myst-nb>=1.1.0" ,
35- " sphinxcontrib-bibtex>=1.0.0" ,
3636 " sphinx-autodoc-typehints" ,
37- " sphinxext-opengraph" ,
38- # For notebooks
39- " ipykernel" ,
40- " ipython" ,
37+ " sphinx-book-theme>=1.1" ,
4138 " sphinx-copybutton" ,
39+ " sphinxcontrib-bibtex>=1" ,
40+ " sphinxext-opengraph" ,
4241]
4342optional-dependencies.registry = [
44- " jsonschema " ,
45- " pillow " ,
46- " httpx " ,
47- " pyyaml" ,
43+ " httpx " ,
44+ " jsonschema " ,
45+ " pillow " ,
46+ " pyyaml" ,
4847]
4948
5049# https://docs.pypi.org/project_metadata/#project-urls
@@ -53,23 +52,23 @@ urls.Homepage = "https://github.com/scverse/scverse-tutorials"
5352urls.Source = " https://github.com/scverse/scverse-tutorials"
5453
5554[tool .hatch .build .targets .wheel ]
56- bypass-selection = true # This is not a package
55+ bypass-selection = true # This is not a package
5756
5857[tool .hatch .envs .default ]
5958installer = " uv"
6059features = [ " dev" ]
6160
6261[tool .hatch .envs .registry ]
63- features = [" registry" ]
62+ features = [ " registry" ]
6463[tool .hatch .envs .registry .scripts ]
6564validate = " python tutorial-registry/validate.py {args}"
6665
6766[tool .hatch .envs .docs ]
6867features = [ " docs" ]
6968extra-dependencies = [
70- " setuptools" , # undeclared dependency in pybtex
71- # fix from here: https://github.com/executablebooks/MyST-NB/pull/597
72- " myst-nb @ git+https://github.com/flying-sheep/MyST-NB.git@eval-metadata" ,
69+ " setuptools" , # undeclared dependency in pybtex
70+ # fix from here: https://github.com/executablebooks/MyST-NB/pull/597
71+ " myst-nb @ git+https://github.com/flying-sheep/MyST-NB.git@eval-metadata" ,
7372]
7473scripts.build = " sphinx-build -M html docs docs/_build {args}"
7574scripts.open = " python -m webbrowser -t docs/_build/html/index.html"
0 commit comments