Skip to content

Commit a830203

Browse files
committed
Update pyproject to use standard practices
* **Observation:** The `pyproject.toml` uses a non-standard `[dependency-groups]` table for development dependencies. * **Recommendation:** Migrate from `[dependency-groups]` to the PEP 621 standard `[project.optional-dependencies]`. This improves compatibility with a wider range of modern Python packaging tools, including `pip`. * **Why:** While `uv` understands `[dependency-groups]`, the standard practice is to use `[project.optional-dependencies]`. This ensures that a user can install development dependencies with `pip install .[dev]` without needing `uv`.
1 parent c983481 commit a830203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ exclude = [
6868
vcs = "git"
6969
style = "pep440"
7070

71-
[dependency-groups]
71+
[project.optional-dependencies]
7272
dev = [
7373
"datamodel-code-generator>=0.30.0",
7474
"mypy>=1.15.0",

0 commit comments

Comments
 (0)