@@ -56,12 +56,10 @@ urls.Issues = "https://github.com/flying-sheep/session-info2/issues"
5656urls.Source = " https://github.com/flying-sheep/session-info2"
5757scripts.session-info = " session_info2.cli:main"
5858
59- [tool .hatch .version ]
60- source = " vcs"
61-
62- [[tool .hatch .envs .hatch-test .matrix ]]
63- python = [ " 3.10" , " 3.11" , " 3.12" , " 3.13" ]
64- deps = [ " all" , " min" ]
59+ [tool .hatch .envs .docs ]
60+ installer = " uv"
61+ features = [ " docs" ]
62+ scripts.build = " sphinx-build -W --keep-going -b html docs docs/_build/html {args}"
6563
6664[tool .hatch .envs .hatch-test ]
6765default-args = [ ]
@@ -71,6 +69,10 @@ overrides.matrix.deps.features = [
7169 { if = [ " all" ], value = " jupyter" },
7270]
7371
72+ [[tool .hatch .envs .hatch-test .matrix ]]
73+ python = [ " 3.10" , " 3.11" , " 3.12" , " 3.13" ]
74+ deps = [ " all" , " min" ]
75+
7476[tool .hatch .envs .notebook ]
7577# installer = "uv" # https://github.com/astral-sh/uv/issues/6032
7678features = [ " notebook" ]
@@ -79,10 +81,8 @@ scripts.install-kernel = "python -m ipykernel install --user --name=session-info
7981
8082[tool .hatch .metadata .hooks .docstring-description ]
8183
82- [tool .hatch .envs .docs ]
83- installer = " uv"
84- features = [ " docs" ]
85- scripts.build = " sphinx-build -W --keep-going -b html docs docs/_build/html {args}"
84+ [tool .hatch .version ]
85+ source = " vcs"
8686
8787[tool .ruff ]
8888lint.select = [ " ALL" ]
@@ -134,19 +134,19 @@ filterwarnings = [
134134 " ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:dateutil" ,
135135]
136136
137- [tool .coverage .run ]
138- source_pkgs = [ " session_info2" , " tests" ]
139- branch = true
140- parallel = true
141- omit = [ ]
142-
143137[tool .coverage .paths ]
144138session_info2 = [ " src/session_info2" , " */session-info2/src/session_info2" ]
145139tests = [ " tests" , " */session-info2/tests" ]
146140
147141[tool .coverage .report ]
148142exclude_lines = [ " no cov" , " if __name__ == .__main__.:" , " if TYPE_CHECKING:" ]
149143
144+ [tool .coverage .run ]
145+ source_pkgs = [ " session_info2" , " tests" ]
146+ branch = true
147+ parallel = true
148+ omit = [ ]
149+
150150[tool .mypy ]
151151strict = true
152152explicit_package_bases = true
0 commit comments