Skip to content

Commit 888b05e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b649a8f commit 888b05e

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

pyproject.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,14 @@ doc = [
9999
]
100100

101101
[tool.hatch]
102+
version.source = "vcs"
102103
envs.default.installer = "uv"
103104
envs.default.dependency-groups = [ "dev" ]
104-
envs.docs.dependency-groups = [ "doc" ]
105105
envs.docs.dev-mode = true
106106
envs.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"
108107
envs.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" ]
113110
envs.hatch-test.features = [ "test" ]
114111
envs.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".
122119
envs.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]
128128
line-length = 120
@@ -163,14 +163,14 @@ lint.per-file-ignores."tests/*" = [ "D" ]
163163
lint.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-
]
169166
ini_options.testpaths = [ "tests" ]
170-
ini_options.xfail_strict = true
171167
ini_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]
176176
run.omit = [

0 commit comments

Comments
 (0)