Skip to content

Commit 3bd7f0e

Browse files
committed
chore: add test dependencies group and update uv.lock
- Introduce `test` optional dependencies group in `uv.lock` for testing packages - Add pytest, pytest-asyncio, pytest-cov, faker, freezegun, httpx, and related dependencies - Include necessary metadata updates and package versions in `uv.lock`
1 parent 6800ebd commit 3bd7f0e

File tree

2 files changed

+313
-1
lines changed

2 files changed

+313
-1
lines changed

backend/pyproject.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ migrations = [
2929
dev = [
3030
"ruff>=0.14.9",
3131
]
32+
test = [
33+
"pytest>=8.0.0",
34+
"pytest-asyncio>=0.23.0",
35+
"pytest-cov>=4.1.0",
36+
"pytest-mock>=3.12.0",
37+
"httpx>=0.26.0",
38+
"faker>=22.0.0",
39+
"freezegun>=1.4.0",
40+
"pytest-env>=1.1.3",
41+
"pytest-xdist>=3.5.0",
42+
"coverage[toml]>=7.4.0",
43+
]
3244

3345
[tool.uvicorn]
3446
factory = false
@@ -39,3 +51,14 @@ build-backend = "setuptools.build_meta"
3951

4052
[tool.setuptools.packages]
4153
find = { where = ["."], include = ["app*", "files*", "alembic*"] }
54+
55+
[tool.coverage.run]
56+
source = ["app"]
57+
omit = ["*/tests/*", "*/__pycache__/*", "*/alembic/*"]
58+
59+
[tool.coverage.report]
60+
exclude_lines = [
61+
"pragma: no cover",
62+
"if TYPE_CHECKING:",
63+
"raise NotImplementedError",
64+
]

0 commit comments

Comments
 (0)