Skip to content

Commit 067cf64

Browse files
committed
Use dependency group for dev dependencies
1 parent 2d4ef45 commit 067cf64

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
@@ -55,20 +55,32 @@ dynamic = ["version"]
5555
[project.optional-dependencies]
5656
htmx = [] # for outdated install procedures
5757
docs = ["sphinx>=2.2.0"]
58+
59+
[dependency-groups]
5860
dev = [
5961
"django-debug-toolbar",
60-
"coverage",
6162
"django-extensions",
6263
"ruff",
6364
"djlint",
6465
"ipython",
6566
"pre-commit",
6667
"python-dotenv",
67-
"towncrier",
6868
"werkzeug",
69+
"towncrier",
70+
{include-group = "build"},
71+
{include-group = "docs"},
72+
{include-group = "test"},
73+
]
74+
test = [
75+
"coverage",
6976
"tox>=4",
77+
]
78+
build = [
7079
"build", # for debugging builds/installs
7180
]
81+
docs = [
82+
"sphinx>=2.2.0",
83+
]
7284

7385
[tool.hatch.version]
7486
source = "versioningit"

0 commit comments

Comments
 (0)