Skip to content

Commit 2ca67c2

Browse files
committed
test: add dependency-group for tests
1 parent d03b0af commit 2ca67c2

File tree

3 files changed

+366
-311
lines changed

3 files changed

+366
-311
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ uv sync --dev
161161
Testing can be done by the following command post-installation:
162162

163163
```bash
164-
uv sync --dev --group=test
164+
uv sync --dev --group=tests
165165
pytest
166166
```
167167

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ requires = [ 'hatchling >=1.27.0' ]
55

66
[dependency-groups]
77
dev = [
8-
'fastapi >=0',
9-
'httpx >=0.24.1',
108
'mypy >=1.15.0',
119
'pdoc >=14.7.0',
12-
'pytest >=7.3.1',
1310
'ruff >=0.4.7',
1411
]
1512
examples = [
@@ -18,6 +15,12 @@ examples = [
1815
'pydantic[email] >=1.7.2,<3.0.0',
1916
'uvicorn >=0.15.0',
2017
]
18+
tests = [
19+
'fastapi >=0',
20+
'httpx >=0.24.1',
21+
'pytest >=7.3.1',
22+
'pytest-modern >=0.7.3',
23+
]
2124

2225

2326
[project]

0 commit comments

Comments
 (0)