Skip to content

Commit 111bd7d

Browse files
committed
fix: Make test_results be an array and not a str with an array
1 parent 5aa3bbd commit 111bd7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/reqstool_python_hatch_plugin/build_hooks

src/reqstool_python_hatch_plugin/build_hooks/reqstool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def _append_to_sdist_tar_gz(self, version: str, build_data: Dict[str, Any], arti
117117
self.app.display_debug(f"[reqstool] added to {self.OUTPUT_SDIST_REQSTOOL_YML}: {annotations_file}")
118118

119119
if test_result_patterns:
120-
resources["test_results"] = str(test_result_patterns)
120+
resources["test_results"] = test_result_patterns
121121
self.app.display_debug(
122122
f"[reqstool] added test_results to {self.OUTPUT_SDIST_REQSTOOL_YML}: {test_result_patterns}"
123123
)

0 commit comments

Comments
 (0)