Skip to content

Commit 2149d05

Browse files
Apply suggestions from code review
Co-authored-by: Leah Wasser <[email protected]>
1 parent c0c4cca commit 2149d05

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

template/pyproject.toml.jinja

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ dependency-groups = [
242242
"build",
243243
]
244244
detached = true
245+
builder = true
245246

246247
# This table installs created the command hatch run install:check which will build and check your package.
247248
[tool.hatch.envs.build.scripts]
@@ -258,6 +259,7 @@ description = """Run the test suite."""
258259
dependency-groups = [
259260
"tests",
260261
]
262+
builder = true
261263

262264
[[tool.hatch.envs.test.matrix]]
263265
python = ["3.10", "3.11", "3.12", "3.13"]
@@ -275,7 +277,7 @@ description = """Build or serve the documentation."""
275277
dependency-groups = [
276278
"docs",
277279
]
278-
280+
builder = true
279281
# This table contains the scripts that you can use to build and serve your docs
280282
# hatch run docs:build will build your documentation
281283
# hatch run docs:serve will serve them 'live' on your computer locally
@@ -299,6 +301,7 @@ dependency-groups = [
299301
"style",
300302
]
301303
detached = true
304+
builder = true
302305

303306
[tool.hatch.envs.style.scripts]
304307
docstrings = "pydoclint src/ tests/"
@@ -314,6 +317,7 @@ description = """Check dependencies for security vulnerabilities."""
314317
dependency-groups = [
315318
"build",
316319
]
320+
builder = true
317321

318322
[tool.hatch.envs.audit.scripts]
319323
check = ["pip-audit"]
@@ -324,6 +328,7 @@ check = ["pip-audit"]
324328
[tool.hatch.envs.types]
325329
description = """Check the static types of the codebase."""
326330
dependency-groups = ["types"]
331+
builder = true
327332

328333
[tool.hatch.envs.types.scripts]
329334
check = "mypy src/{{ package_name }}"

0 commit comments

Comments
 (0)