Skip to content

Commit 00a9c62

Browse files
chore(deps): update pre-commit hooks (#6054)
* chore(deps): update pre-commit hooks updates: - [github.com/pre-commit/mirrors-clang-format: v22.1.2 → v22.1.4](pre-commit/mirrors-clang-format@v22.1.2...v22.1.4) - [github.com/astral-sh/ruff-pre-commit: v0.15.9 → v0.15.12](astral-sh/ruff-pre-commit@v0.15.9...v0.15.12) - [github.com/pre-commit/mirrors-mypy: v1.20.0 → v1.20.2](pre-commit/mirrors-mypy@v1.20.0...v1.20.2) - [github.com/adhtruong/mirrors-typos: v1.45.0 → v1.46.0](adhtruong/mirrors-typos@v1.45.0...v1.46.0) - [github.com/python-jsonschema/check-jsonschema: 0.37.1 → 0.37.2](python-jsonschema/check-jsonschema@0.37.1...0.37.2) * fix: correct detailed error message comment wording Clarify when detailed error messages are enabled and remove the typo caught by typos. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
1 parent 59a917d commit 00a9c62

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,22 @@ repos:
2525

2626
# Clang format the codebase automatically
2727
- repo: https://github.com/pre-commit/mirrors-clang-format
28-
rev: "v22.1.2"
28+
rev: "v22.1.4"
2929
hooks:
3030
- id: clang-format
3131
types_or: [c++, c, cuda]
3232

3333
# Ruff, the Python auto-correcting linter/formatter written in Rust
3434
- repo: https://github.com/astral-sh/ruff-pre-commit
35-
rev: v0.15.9
35+
rev: v0.15.12
3636
hooks:
3737
- id: ruff-check
3838
args: ["--fix", "--show-fixes"]
3939
- id: ruff-format
4040

4141
# Check static types with mypy
4242
- repo: https://github.com/pre-commit/mirrors-mypy
43-
rev: "v1.20.0"
43+
rev: "v1.20.2"
4444
hooks:
4545
- id: mypy
4646
args: []
@@ -122,7 +122,7 @@ repos:
122122
# Use mirror because pre-commit autoupdate confuses tags in the upstream repo.
123123
# See https://github.com/crate-ci/typos/issues/390
124124
- repo: https://github.com/adhtruong/mirrors-typos
125-
rev: "v1.45.0"
125+
rev: "v1.46.0"
126126
hooks:
127127
- id: typos
128128
args: []
@@ -151,7 +151,7 @@ repos:
151151

152152
# Check schemas on some of our YAML files
153153
- repo: https://github.com/python-jsonschema/check-jsonschema
154-
rev: 0.37.1
154+
rev: 0.37.2
155155
hooks:
156156
- id: check-readthedocs
157157
- id: check-github-workflows

include/pybind11/detail/common.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,9 +1410,9 @@ constexpr
14101410
// std::move(args)
14111411
#endif
14121412

1413-
// Pybind offers detailed error messages by default for all builts that are debug (through the
1414-
// negation of NDEBUG). This can also be manually enabled by users, for any builds, through
1415-
// defining PYBIND11_DETAILED_ERROR_MESSAGES. This information is primarily useful for those
1413+
// Pybind offers detailed error messages by default in debug builds (through the negation of
1414+
// NDEBUG). This can also be manually enabled by users for any build by defining
1415+
// PYBIND11_DETAILED_ERROR_MESSAGES. This information is primarily useful for those
14161416
// who are writing (as opposed to merely using) libraries that use pybind11.
14171417
#if !defined(PYBIND11_DETAILED_ERROR_MESSAGES) && !defined(NDEBUG)
14181418
# define PYBIND11_DETAILED_ERROR_MESSAGES

0 commit comments

Comments
 (0)