Skip to content

Commit 0c00234

Browse files
committed
Fix selftest
1 parent aed6bb4 commit 0c00234

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ classifiers = [
2020
dependencies = []
2121
requires-python = ">=3.9"
2222

23+
[build-system]
24+
requires = ["hatchling"]
25+
build-backend = "hatchling.build"
26+
27+
[tool.hatch.version]
28+
path = "{{ cookiecutter.__project_src_path }}/__init__.py"
29+
2330
[tool.setuptools.dynamic]
2431
version = { attr = "{{ cookiecutter.__project_import }}.__version__" }
2532

@@ -42,7 +49,14 @@ lint = [
4249
"interrogate",
4350
{%- endif %}
4451
]
45-
dev = [{include-group = "doc"}, {include-group = "test"}, {include-group = "lint"}, "twine", "build"]
52+
dev = [
53+
{include-group = "doc"},
54+
{include-group = "test"},
55+
{include-group = "lint"},
56+
"twine",
57+
"build",
58+
"{{ cookiecutter.project_slug }}",
59+
]
4660

4761
{% if cookiecutter.entry_point -%}
4862
[project.scripts]
@@ -108,3 +122,6 @@ exclude = ["env", "test", "{{ cookiecutter.__project_src_path }}/_cli.py"]
108122
ignore-semiprivate = true
109123
fail-under = 100
110124
{%- endif %}
125+
126+
[tool.uv.sources]
127+
{{ cookiecutter.project_slug }} = { workspace = true }

0 commit comments

Comments
 (0)