diff --git a/template/pyproject.toml b/template/pyproject.toml index c69e502..dbb8fe1 100644 --- a/template/pyproject.toml +++ b/template/pyproject.toml @@ -1,7 +1,3 @@ -[build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" - [project] name = "{{ package_name }}" version = "{{ version }}" @@ -148,3 +144,7 @@ known-first-party = ["{{ project_slug }}"] [tool.ruff.lint.pydocstyle] convention = "numpy" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" diff --git a/tests/example-project/pyproject.toml b/tests/example-project/pyproject.toml index d50b0ee..82d7216 100644 --- a/tests/example-project/pyproject.toml +++ b/tests/example-project/pyproject.toml @@ -1,7 +1,3 @@ -[build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" - [project] name = "example-project" version = "0.1.0" @@ -146,3 +142,7 @@ known-first-party = ["example_project"] [tool.ruff.lint.pydocstyle] convention = "numpy" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build"