@@ -8,7 +8,9 @@ build-backend="hatchling.build"
88
99[project ]
1010name = " python-template-cpp"
11- authors = [{name = " Python Project Template Authors" , email = " 3105306+timkpaine@users.noreply.github.com" }]
11+ authors = [
12+ {name = " Python Project Template Authors" , email = " 3105306+timkpaine@users.noreply.github.com" },
13+ ]
1214description = " A C++-Python project template"
1315readme = " README.md"
1416license = { text = " Apache-2.0" }
@@ -46,6 +48,8 @@ develop = [
4648 " pytest-cov" ,
4749 " ruff>=0.9,<0.15" ,
4850 " twine" ,
51+ " ty" ,
52+ " uv" ,
4953 " wheel" ,
5054]
5155
@@ -85,7 +89,7 @@ ignore = [
8589[tool .cibuildwheel ]
8690build = " cp310-* cp311-* cp312-* cp313-*"
8791test-command = " echo 'TODO'"
88- test-requires = []
92+ test-extras = " develop "
8993
9094[tool .cibuildwheel .linux ]
9195skip = " *i686 musllinux*"
@@ -125,30 +129,59 @@ src = "/"
125129[tool .hatch .build .hooks .hatch-cpp ]
126130verbose = true
127131libraries = [
128- {name = " python_template_cpp/extension" , sources = [" cpp/python-template-cpp/extension.cpp" ], include-dirs = [" cpp" ], binding =" pybind11" }
132+ {name = " python_template_cpp/extension" , sources = [" cpp/python-template-cpp/extension.cpp" ], include-dirs = [" cpp" ], binding =" pybind11" }
129133]
130134
131135[tool .hatch .build .targets .sdist ]
132- packages = [" python_template_cpp" , " cpp" ]
136+ packages = [
137+ " python_template_cpp" ,
138+ " cpp" ,
139+ ]
133140
134141[tool .hatch .build .targets .wheel ]
135- packages = [" python_template_cpp" ]
142+ packages = [
143+ " python_template_cpp" ,
144+ ]
136145
137146[tool .pytest .ini_options ]
138- addopts = [" -vvv" , " --junitxml=junit.xml" ]
147+ addopts = [
148+ " -vvv" ,
149+ " --junitxml=junit.xml" ,
150+ ]
139151testpaths = " python_template_cpp/tests"
140152
141153[tool .ruff ]
142154line-length = 150
143155
144156[tool .ruff .lint ]
145- extend-select = [" I" ]
157+ extend-select = [
158+ " I" ,
159+ ]
146160
147161[tool .ruff .lint .isort ]
148162combine-as-imports = true
149163default-section = " third-party"
150- known-first-party = [" python_template_cpp" ]
151- section-order = [" future" , " standard-library" , " third-party" , " first-party" , " local-folder" ]
164+ known-first-party = [
165+ " python_template_cpp" ,
166+ ]
167+ section-order = [
168+ " future" ,
169+ " standard-library" ,
170+ " third-party" ,
171+ " first-party" ,
172+ " local-folder" ,
173+ ]
152174
153175[tool .ruff .lint .per-file-ignores ]
154- "__init__.py" = [" F401" , " F403" ]
176+ "__init__.py" = [
177+ " F401" ,
178+ " F403" ,
179+ ]
180+
181+ [tool .yardang ]
182+ title = " python template cpp"
183+ root = " README.md"
184+ pages = []
185+ use-autoapi = true
186+
187+
0 commit comments