Skip to content

Commit f139219

Browse files
committed
chore: use uv dependency groups
1 parent c1db105 commit f139219

File tree

2 files changed

+180
-173
lines changed

2 files changed

+180
-173
lines changed

pyproject.toml

+8-5
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ repository = "https://github.com/yaal-coop/scim2-models"
3636
changelog = "https://scim2-models.readthedocs.io/en/latest/changelog.html"
3737
funding = "https://github.com/sponsors/yaal-coop"
3838

39-
[tool.uv]
40-
dev-dependencies = [
41-
# development
39+
[dependency-groups]
40+
dev = [
4241
"pytest>=8.2.1",
4342
"pytest-coverage>=0.0",
44-
"tox-uv>=1.15.0",
45-
# documentation
43+
"tox-uv>=1.16.0",
44+
]
45+
46+
doc = [
4647
"autodoc-pydantic>=2.2.0",
4748
"myst-parser>=3.0.1",
4849
"shibuya>=2024.5.15",
@@ -107,6 +108,7 @@ env_list = [
107108
]
108109

109110
[tool.tox.env_run_base]
111+
runner = "uv-venv-lock-runner"
110112
commands = [
111113
["pytest", "--showlocals", "--full-trace", "{posargs}"],
112114
]
@@ -125,6 +127,7 @@ commands = [
125127
]
126128

127129
[tool.tox.env.doc]
130+
dependency_groups = ["doc"]
128131
commands = [
129132
["sphinx-build", "--builder", "html", "doc", "build/sphinx/html"],
130133
["sphinx-build", "--builder", "man", "doc", "build/sphinx/html"],

0 commit comments

Comments
 (0)