Skip to content

Commit e0aaa5e

Browse files
committed
pyproject.toml: Add dependency-groups
Add dependencies for different development groups. The groups are - lint: Linter tools - test: Pytest and coverage tools - types: Type checking tools Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 4ece19d commit e0aaa5e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

pyproject.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,25 @@ Homepage = "https://github.com/zephyrproject-rtos/west"
3636
[project.scripts]
3737
west = "west.app.main:main"
3838

39+
[dependency-groups]
40+
lint = [
41+
"ruff~=0.13",
42+
]
43+
test = [
44+
"coverage~=7.10",
45+
"pytest~=8.4",
46+
"pytest-cov~=7.0",
47+
]
48+
types = [
49+
"mypy~=1.18",
50+
"types-pyyaml~=6.0",
51+
]
52+
dev = [
53+
{include-group = "lint"},
54+
{include-group = "test"},
55+
{include-group = "types"},
56+
]
57+
3958
[tool.setuptools]
4059
package-dir = {"" = "src"}
4160
zip-safe = false

0 commit comments

Comments
 (0)