Skip to content

Commit ac594c5

Browse files
committed
fmt
1 parent 49ca819 commit ac594c5

2 files changed

Lines changed: 15 additions & 17 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,3 @@ repos:
6666
language: fail
6767
files: "^tutorial-registry/tutorials/.*$"
6868
exclude: "^tutorial-registry/tutorials/.*/(meta\\.yaml|icon\\.(svg|png|webp))$"
69-

pyproject.toml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,21 @@ dependencies = [
2929
]
3030
optional-dependencies.dev = [ "pre-commit" ]
3131
optional-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
]
4342
optional-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"
5352
urls.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]
5958
installer = "uv"
6059
features = [ "dev" ]
6160

6261
[tool.hatch.envs.registry]
63-
features = ["registry"]
62+
features = [ "registry" ]
6463
[tool.hatch.envs.registry.scripts]
6564
validate = "python tutorial-registry/validate.py {args}"
6665

6766
[tool.hatch.envs.docs]
6867
features = [ "docs" ]
6968
extra-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
]
7473
scripts.build = "sphinx-build -M html docs docs/_build {args}"
7574
scripts.open = "python -m webbrowser -t docs/_build/html/index.html"

0 commit comments

Comments
 (0)