[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2022-02-26 15:45:52 +00:00
parent 9c8df99e40
commit ae3cfa82cc
2 changed files with 2 additions and 1 deletions

View File

@ -18,5 +18,5 @@
TEST_SUBMODULE(_make_alias, m) {
ma = m.make_alias(pybind11::module::strip_leading_underscore_from_name);
ma.def("foo", []() -> { });
ma.def("foo", []() -> {});
}

View File

@ -4,5 +4,6 @@ from pybind11_tests import ConstructorStats
m = pytest.importorskip("pybind11_tests.make_alias")
def assert_name(mat):
assert m.__name__ == "make_alias"