Skip to content

Commit 2b2e4ca

Browse files
chore(deps): update pre-commit hooks (#4868)
* chore(deps): update pre-commit hooks updates: - [github.com/psf/black-pre-commit-mirror: 23.7.0 → 23.9.1](psf/black-pre-commit-mirror@23.7.0...23.9.1) - [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](astral-sh/ruff-pre-commit@v0.0.287...v0.0.292) - [github.com/codespell-project/codespell: v2.2.5 → v2.2.6](codespell-project/codespell@v2.2.5...v2.2.6) - [github.com/shellcheck-py/shellcheck-py: v0.9.0.5 → v0.9.0.6](shellcheck-py/shellcheck-py@v0.9.0.5...v0.9.0.6) - [github.com/PyCQA/pylint: v3.0.0a7 → v3.0.0](pylint-dev/pylint@v3.0.0a7...v3.0.0) * Update .pre-commit-config.yaml * style: pre-commit fixes * Update .pre-commit-config.yaml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <[email protected]>
1 parent dd64df7 commit 2b2e4ca

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ The valid options are:
135135
* Use `-G` and the name of a generator to use something different. `cmake
136136
--help` lists the generators available.
137137
- On Unix, setting `CMAKE_GENERATER=Ninja` in your environment will give
138-
you automatic mulithreading on all your CMake projects!
138+
you automatic multithreading on all your CMake projects!
139139
* Open the `CMakeLists.txt` with QtCreator to generate for that IDE.
140140
* You can use `-DCMAKE_EXPORT_COMPILE_COMMANDS=ON` to generate the `.json` file
141141
that some tools expect.

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ repos:
3232

3333
# Black, the code formatter, natively supports pre-commit
3434
- repo: https://github.com/psf/black-pre-commit-mirror
35-
rev: "23.7.0" # Keep in sync with blacken-docs
35+
rev: "23.9.1" # Keep in sync with blacken-docs
3636
hooks:
3737
- id: black
3838

3939
# Ruff, the Python auto-correcting linter written in Rust
4040
- repo: https://github.com/astral-sh/ruff-pre-commit
41-
rev: v0.0.287
41+
rev: v0.0.292
4242
hooks:
4343
- id: ruff
4444
args: ["--fix", "--show-fixes"]
@@ -124,15 +124,15 @@ repos:
124124
# Use tools/codespell_ignore_lines_from_errors.py
125125
# to rebuild .codespell-ignore-lines
126126
- repo: https://github.com/codespell-project/codespell
127-
rev: "v2.2.5"
127+
rev: "v2.2.6"
128128
hooks:
129129
- id: codespell
130130
exclude: ".supp$"
131131
args: ["-x.codespell-ignore-lines", "-Lccompiler"]
132132

133133
# Check for common shell mistakes
134134
- repo: https://github.com/shellcheck-py/shellcheck-py
135-
rev: "v0.9.0.5"
135+
rev: "v0.9.0.6"
136136
hooks:
137137
- id: shellcheck
138138

@@ -147,7 +147,7 @@ repos:
147147

148148
# PyLint has native support - not always usable, but works for us
149149
- repo: https://github.com/PyCQA/pylint
150-
rev: "v3.0.0a7"
150+
rev: "v3.0.0"
151151
hooks:
152152
- id: pylint
153153
files: ^pybind11

include/pybind11/detail/init.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ constexpr bool is_alias(void *) {
6565
}
6666

6767
// Constructs and returns a new object; if the given arguments don't map to a constructor, we fall
68-
// back to brace aggregate initiailization so that for aggregate initialization can be used with
68+
// back to brace aggregate initialization so that for aggregate initialization can be used with
6969
// py::init, e.g. `py::init<int, int>` to initialize a `struct T { int a; int b; }`. For
7070
// non-aggregate types, we need to use an ordinary T(...) constructor (invoking as `T{...}` usually
7171
// works, but will not do the expected thing when `T` has an `initializer_list<T>` constructor).

0 commit comments

Comments
 (0)