mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-19 01:15:52 +00:00
style: pre-commit fixes
This commit is contained in:
parent
890fcae7d8
commit
28d2a66350
@ -1049,7 +1049,8 @@ TEST_SUBMODULE(pytypes, m) {
|
||||
auto static_class = py::class_<Static>(m, "Static");
|
||||
static_class.def(py::init());
|
||||
static_class.attr_with_type_hint<py::typing::ClassVar<float>>("x") = 1.0;
|
||||
static_class.attr_with_type_hint<py::typing::ClassVar<py::typing::Dict<py::str, int>>>("dict_str_int")
|
||||
static_class.attr_with_type_hint<py::typing::ClassVar<py::typing::Dict<py::str, int>>>(
|
||||
"dict_str_int")
|
||||
= py::dict();
|
||||
|
||||
struct Instance {};
|
||||
|
Loading…
Reference in New Issue
Block a user