Skip to content

Commit b0af6eb

Browse files
authored
Configure test and lint environments (#28)
1 parent 40853f2 commit b0af6eb

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

pyproject.toml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ classifiers = [
2020
dependencies = [
2121
"aiohttp>=3.12.9",
2222
"prometheus-client>=0.21.0",
23+
"mashumaro>=3.13.1",
2324
]
2425

2526
[project.optional-dependencies]
2627
dev = [
2728
"ruff==0.11.13",
29+
"aiohttp==3.12.12",
30+
"prometheus-client==0.22.1",
31+
"mashumaro==3.16",
2832
]
2933

3034
[project.urls]
@@ -40,8 +44,15 @@ include = [
4044
"/pythonkuma",
4145
]
4246

47+
[tool.hatch.envs.default]
48+
dependencies = [
49+
"pythonkuma[dev]"
50+
]
51+
4352
[tool.hatch.envs.hatch-static-analysis]
44-
dependencies = ["ruff==0.11.13"]
53+
dependencies = [
54+
"ruff==0.11.13",
55+
]
4556
config-path = "ruff.toml"
4657

4758
[tool.pytest.ini_options]
@@ -53,5 +64,6 @@ pythonpath = ["pythonkuma"]
5364

5465
[tool.hatch.envs.hatch-test]
5566
extra-dependencies = [
56-
"pytest-cov"
67+
"pythonkuma[dev]",
68+
"pytest-cov==6.1.1",
5769
]

0 commit comments

Comments
 (0)