@@ -36,35 +36,26 @@ urls.Documentation = "https://scverse.org/scverse-tutorials"
3636urls.Home-page = " https://github.com/scverse/scverse-tutorials"
3737urls.Source = " https://github.com/scverse/scverse-tutorials"
3838
39- [tool .hatch .build .targets .wheel ]
40- bypass-selection = true # This is not a package
41-
42- [tool .hatch .envs .default ]
43- installer = " uv"
44- features = [ " dev" ]
45-
46- [tool .hatch .envs .docs ]
47- features = [ " docs" ]
48- extra-dependencies = [
49- " setuptools" , # undeclared dependency in pybtex
39+ [tool .hatch ]
40+ build.targets.wheel.bypass-selection = true # This is not a package
41+ envs.default.installer = " uv"
42+ envs.default.features = [ " dev" ]
43+ envs.docs.features = [ " docs" ]
44+ envs.docs.extra-dependencies = [
5045 # fix from here: https://github.com/executablebooks/MyST-NB/pull/597
5146 " myst-nb @ git+https://github.com/flying-sheep/MyST-NB.git@eval-metadata" ,
5247]
53- scripts.build = " sphinx-build -M html docs docs/_build {args}"
54- scripts.open = " python3 -m webbrowser -t docs/_build/html/index.html"
55- scripts.clean = " git clean -fdX -- {args:docs}"
56-
57- [tool .hatch .envs .registry ]
58- features = [ " registry" ]
59- scripts.validate = " python tutorial-registry/validate.py {args}"
48+ envs.docs.scripts.build = " sphinx-build -M html docs docs/_build {args}"
49+ envs.docs.scripts.open = " python3 -m webbrowser -t docs/_build/html/index.html"
50+ envs.docs.scripts.clean = " git clean -fdX -- {args:docs}"
51+ envs.registry.features = [ " registry" ]
52+ envs.registry.scripts.validate = " python tutorial-registry/validate.py {args}"
6053
6154[tool .ruff ]
6255line-length = 120
6356src = [ " src" ]
6457extend-include = [ " *.ipynb" ]
65-
6658format.docstring-code-format = true
67-
6859lint.select = [
6960 " B" , # flake8-bugbear
7061 " BLE" , # flake8-blind-except
0 commit comments