Skip to content

Commit 11101b0

Browse files
jufty-botjuftin
andauthored
🐛 move build-system lower (#15)
Co-authored-by: Justin Flannery <justin.flannery@juftin.com>
1 parent ea0588f commit 11101b0

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

template/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
4-
51
[project]
62
name = "{{ package_name }}"
73
version = "{{ version }}"
@@ -148,3 +144,7 @@ known-first-party = ["{{ project_slug }}"]
148144

149145
[tool.ruff.lint.pydocstyle]
150146
convention = "numpy"
147+
148+
[build-system]
149+
requires = ["hatchling"]
150+
build-backend = "hatchling.build"

tests/example-project/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
4-
51
[project]
62
name = "example-project"
73
version = "0.1.0"
@@ -146,3 +142,7 @@ known-first-party = ["example_project"]
146142

147143
[tool.ruff.lint.pydocstyle]
148144
convention = "numpy"
145+
146+
[build-system]
147+
requires = ["hatchling"]
148+
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)