@@ -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,9 +89,10 @@ 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 ]
95+ manylinux-x86_64-image = " manylinux_2_28"
9196skip = " *i686 musllinux*"
9297
9398[tool .cibuildwheel .macos ]
@@ -125,30 +130,59 @@ src = "/"
125130[tool .hatch .build .hooks .hatch-cpp ]
126131verbose = true
127132libraries = [
128- {name = " python_template_cpp/extension" , sources = [" cpp/python-template-cpp/extension.cpp" ], include-dirs = [" cpp" ], binding =" pybind11" }
133+ {name = " python_template_cpp/extension" , sources = [" cpp/python-template-cpp/extension.cpp" ], include-dirs = [" cpp" ], binding =" pybind11" }
129134]
130135
131136[tool .hatch .build .targets .sdist ]
132- packages = [" python_template_cpp" , " cpp" ]
137+ packages = [
138+ " python_template_cpp" ,
139+ " cpp" ,
140+ ]
133141
134142[tool .hatch .build .targets .wheel ]
135- packages = [" python_template_cpp" ]
143+ packages = [
144+ " python_template_cpp" ,
145+ ]
136146
137147[tool .pytest .ini_options ]
138- addopts = [" -vvv" , " --junitxml=junit.xml" ]
148+ addopts = [
149+ " -vvv" ,
150+ " --junitxml=junit.xml" ,
151+ ]
139152testpaths = " python_template_cpp/tests"
140153
141154[tool .ruff ]
142155line-length = 150
143156
144157[tool .ruff .lint ]
145- extend-select = [" I" ]
158+ extend-select = [
159+ " I" ,
160+ ]
146161
147162[tool .ruff .lint .isort ]
148163combine-as-imports = true
149164default-section = " third-party"
150- known-first-party = [" python_template_cpp" ]
151- section-order = [" future" , " standard-library" , " third-party" , " first-party" , " local-folder" ]
165+ known-first-party = [
166+ " python_template_cpp" ,
167+ ]
168+ section-order = [
169+ " future" ,
170+ " standard-library" ,
171+ " third-party" ,
172+ " first-party" ,
173+ " local-folder" ,
174+ ]
152175
153176[tool .ruff .lint .per-file-ignores ]
154- "__init__.py" = [" F401" , " F403" ]
177+ "__init__.py" = [
178+ " F401" ,
179+ " F403" ,
180+ ]
181+
182+ [tool .yardang ]
183+ title = " python template cpp"
184+ root = " README.md"
185+ pages = []
186+ use-autoapi = true
187+
188+
0 commit comments