Skip to content

Commit dcbd888

Browse files
authored
Add project table to pyproject.toml template (#690)
Add project table to pyproject.toml template Otherwise, uv will fail with error message of error: No `project` table found in: `<project_root>/pyproject.toml`
1 parent 9b0fc70 commit dcbd888

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

coderedcms/project_template/basic/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
[project]
2+
name = "{{ project_name }}"
3+
version = "0.1.0"
4+
requires-python = ">=3.9"
5+
16
[tool.black]
27
line-length = 80
38
extend-exclude = ["migrations"]

coderedcms/project_template/pro/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
[project]
2+
name = "{{ project_name }}"
3+
version = "0.1.0"
4+
requires-python = ">=3.9"
5+
16
[tool.black]
27
line-length = 80
38
extend-exclude = ["migrations"]

0 commit comments

Comments
 (0)