From 3cd11315da96219d9ce99f35894554999354d05d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 17:34:55 +0000 Subject: [PATCH] style: pre-commit fixes --- tests/test_class.cpp | 3 +-- tests/test_class.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_class.cpp b/tests/test_class.cpp index 109c85bf0..d5ebb2fdb 100644 --- a/tests/test_class.cpp +++ b/tests/test_class.cpp @@ -566,8 +566,7 @@ TEST_SUBMODULE(class_, m) { py::arg("x"), py::kw_only(), py::arg("y"), - py::is_method(py::none()) - ); + py::is_method(py::none())); m.attr("KwOnlyMethod") = parent_metaclass("MwOnlyMethod", py::make_tuple(), attributes); } diff --git a/tests/test_class.py b/tests/test_class.py index a6aaa23cd..c47051bcf 100644 --- a/tests/test_class.py +++ b/tests/test_class.py @@ -504,4 +504,4 @@ def test_pr4220_tripped_over_this(): def test_kw_only(): - assert (m.KwOnlyMethod().test("x", y="y") == 0) + assert m.KwOnlyMethod().test("x", y="y") == 0