@@ -18,7 +18,7 @@ cd my-package
1818
1919# 3. Add core dependencies
2020uv add rich # user messages
21- uv add --dev pytest pytest-cov ruff mypy mkdocs-material mkdocstrings[python]
21+ uv add --group dev pytest pytest-cov ruff mypy mkdocs-material mkdocstrings[python]
2222
2323# 4. Initialize git
2424git init
@@ -40,9 +40,16 @@ name = "my-package"
4040version = " 0.1.0"
4141description = " One clear sentence describing what this does."
4242readme = " README.md"
43- license = { text = " MIT" }
43+ license = " MIT"
44+ license-files = [" LICENSE" ]
4445authors = [{ name = " Your Name" , email = " you@example.com" }]
4546requires-python = " >=3.10"
47+ classifiers = [
48+ " Programming Language :: Python :: 3.10" ,
49+ " Programming Language :: Python :: 3.11" ,
50+ " Programming Language :: Python :: 3.12" ,
51+ " Programming Language :: Python :: 3.13" ,
52+ ]
4653dependencies = [
4754 " rich>=13.0" ,
4855]
@@ -52,6 +59,16 @@ Homepage = "https://github.com/you/my-package"
5259Documentation = " https://you.github.io/my-package"
5360Repository = " https://github.com/you/my-package"
5461
62+ [dependency-groups ]
63+ dev = [
64+ " pytest>=8.0" ,
65+ " pytest-cov>=5.0" ,
66+ " ruff>=0.4" ,
67+ " mypy>=1.0" ,
68+ " mkdocs-material>=9.0" ,
69+ " mkdocstrings[python]>=0.25" ,
70+ ]
71+
5572[build-system ]
5673requires = [" hatchling" ]
5774build-backend = " hatchling.build"
@@ -61,7 +78,6 @@ packages = ["src/my_package"]
6178
6279[tool .ruff ]
6380line-length = 88
64- target-version = " py310"
6581
6682[tool .ruff .lint ]
6783select = [" E" , " F" , " I" , " UP" ]
0 commit comments