mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-19 22:39:09 +00:00
chore(deps): update pre-commit hooks (#5605)
* chore(deps): update pre-commit hooks updates: - [github.com/pre-commit/mirrors-clang-format: v19.1.7 → v20.1.0](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.7...v20.1.0) - [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.11.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.9...v0.11.4) - [github.com/PyCQA/pylint: v3.3.4 → v3.3.6](https://github.com/PyCQA/pylint/compare/v3.3.4...v3.3.6) - [github.com/python-jsonschema/check-jsonschema: 0.31.2 → 0.32.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.2...0.32.1) * style: pre-commit fixes * Update setup.py * Update tests/test_enum.py * Update configure.yml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
This commit is contained in:
committed by
GitHub
parent
d25e91fb8f
commit
a2951abbec
@@ -59,15 +59,13 @@ def test_unscoped_enum():
|
||||
"EThree": m.UnscopedEnum.EThree,
|
||||
}
|
||||
|
||||
for docstring_line in """An unscoped enumeration
|
||||
|
||||
Members:
|
||||
|
||||
EOne : Docstring for EOne
|
||||
|
||||
ETwo : Docstring for ETwo
|
||||
|
||||
EThree : Docstring for EThree""".split("\n"):
|
||||
for docstring_line in [
|
||||
"An unscoped enumeration",
|
||||
"Members:",
|
||||
" EOne : Docstring for EOne",
|
||||
" ETwo : Docstring for ETwo",
|
||||
" EThree : Docstring for EThree",
|
||||
]:
|
||||
assert docstring_line in m.UnscopedEnum.__doc__
|
||||
|
||||
# Unscoped enums will accept ==/!= int comparisons
|
||||
|
||||
Reference in New Issue
Block a user