@@ -17,7 +17,9 @@ dynamic = ["version"]
1717license.file = "LICENSE"
1818readme = "README.md"
1919requires-python = ">=3.10"
20- optional-dependencies = { dev = [
20+
21+ [project.optional-dependencies]
22+ dev = [
2123 "build",
2224 "copier",
2325 {% if type_checker =="mypy" %} "mypy",
@@ -35,11 +37,17 @@ optional-dependencies = { dev = [
3537 {% endif %} "tox-uv",
3638 "twine",
3739 "types-mock",
38- ] }
39- scripts = { {{ repo_name }} = "{{ package_name }}.__main__:main" }
40- urls = { GitHub = "{{ repo_url }}" }
41- # Further authors may be added by appending to this list
42- authors = [ { email = "{{ author_email }}", name = "{{ author_name }}" } ]
40+ ]
41+
42+ [project.scripts]
43+ {{ repo_name }} = "{{ package_name }}.__main__:main"
44+
45+ [project.urls]
46+ GitHub = "{{ repo_url }}"
47+
48+ [[project.authors]] # Further authors may be added by duplicating this section
49+ email = "{{ author_email }}"
50+ name = "{{ author_name }}"
4351
4452[tool.uv]
4553default-groups = []
@@ -55,8 +63,6 @@ typeCheckingMode = "standard"
5563{% endif %}{% if type_checker =="mypy" %}
5664[tool.mypy]
5765ignore_missing_imports = true # Ignore missing stubs in imported modules
58- explicit_package_bases = true
59- #no_namespace_packages = true
6066{% endif %}
6167[tool.pytest.ini_options]
6268# Run pytest with all our checkers, and don't spam us with massive tracebacks on error
0 commit comments