@@ -99,17 +99,14 @@ doc = [
9999]
100100
101101[tool .hatch ]
102+ version.source = " vcs"
102103envs.default.installer = " uv"
103104envs.default.dependency-groups = [ " dev" ]
104- envs.docs.dependency-groups = [ " doc" ]
105105envs.docs.dev-mode = true
106106envs.docs.scripts.build = " sphinx-build -M html docs docs/_build {args}"
107- envs.docs.scripts.open = " python -m webbrowser -t docs/_build/html/index.html"
108107envs.docs.scripts.clean = " git clean -fdX -- {args:docs}"
109- # hatch-test needs both:
110- # - dependency-groups: Python test packages (pytest, coverage, flaky, ...)
111- # - features: provider extras via optional-dependencies.test thin pointer
112- envs.hatch-test.dependency-groups = [ " dev" , " test" ]
108+ envs.docs.scripts.open = " python -m webbrowser -t docs/_build/html/index.html"
109+ envs.docs.dependency-groups = [ " doc" ]
113110envs.hatch-test.features = [ " test" ]
114111envs.hatch-test.matrix = [
115112 # Test the lowest and highest supported Python versions with normal deps
@@ -120,9 +117,12 @@ envs.hatch-test.matrix = [
120117# If the matrix variable `deps` is set to "pre",
121118# set the environment variable `UV_PRERELEASE` to "allow".
122119envs.hatch-test.overrides.matrix.deps.env-vars = [
123- { key = " UV_PRERELEASE " , value = " allow " , if = [ " pre" ] },
120+ { value = " allow " , key = " UV_PRERELEASE " , if = [ " pre" ] },
124121]
125- version.source = " vcs"
122+ # hatch-test needs both:
123+ # - dependency-groups: Python test packages (pytest, coverage, flaky, ...)
124+ # - features: provider extras via optional-dependencies.test thin pointer
125+ envs.hatch-test.dependency-groups = [ " dev" , " test" ]
126126
127127[tool .ruff ]
128128line-length = 120
@@ -163,14 +163,14 @@ lint.per-file-ignores."tests/*" = [ "D" ]
163163lint.pydocstyle.convention = " numpy"
164164
165165[tool .pytest ]
166- ini_options.markers = [
167- " real_llm_query: mark a test that sends data to an actual LLM provider." ,
168- ]
169166ini_options.testpaths = [ " tests" ]
170- ini_options.xfail_strict = true
171167ini_options.addopts = [
172168 " --import-mode=importlib" , # allow using test files with same name
173169]
170+ ini_options.markers = [
171+ " real_llm_query: mark a test that sends data to an actual LLM provider." ,
172+ ]
173+ ini_options.xfail_strict = true
174174
175175[tool .coverage ]
176176run.omit = [
0 commit comments