From 28d2a6635014a59f08166d953b729128aadd9ba2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 15 Dec 2024 21:51:35 +0000 Subject: [PATCH] style: pre-commit fixes --- tests/test_pytypes.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_pytypes.cpp b/tests/test_pytypes.cpp index 40faad17c..792785baa 100644 --- a/tests/test_pytypes.cpp +++ b/tests/test_pytypes.cpp @@ -1049,7 +1049,8 @@ TEST_SUBMODULE(pytypes, m) { auto static_class = py::class_(m, "Static"); static_class.def(py::init()); static_class.attr_with_type_hint>("x") = 1.0; - static_class.attr_with_type_hint>>("dict_str_int") + static_class.attr_with_type_hint>>( + "dict_str_int") = py::dict(); struct Instance {};