Skip to content

Commit 4beb985

Browse files
github-actions[bot]henryiiipre-commit-ci[bot]
authored
chore(deps): bump versions (#389)
* [create-pull-request] automated change * chore: update format Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * style: pre-commit fixes --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: henryiii <4616906+henryiii@users.noreply.github.com> Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d43e497 commit 4beb985

5 files changed

Lines changed: 12 additions & 15 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
additional_dependencies: [black==24.*]
3030

3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: "v0.3.0"
32+
rev: "v0.3.2"
3333
hooks:
3434
- id: ruff
3535
args: ["--fix", "--show-fixes"]
@@ -43,7 +43,7 @@ repos:
4343
- id: rst-inline-touching-normal
4444

4545
- repo: https://github.com/pre-commit/mirrors-mypy
46-
rev: "v1.8.0"
46+
rev: "v1.9.0"
4747
hooks:
4848
- id: mypy
4949
files: "(src|tests)"

docs/pages/guides/packaging_compiled.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,7 @@ PYBIND11_MODULE(_core, m) {
225225
Some other explanation about the add function.
226226
)pbdoc");
227227

228-
m.def(
229-
"subtract", [](int i, int j) { return i - j; }, R"pbdoc(
228+
m.def("subtract", [](int i, int j) { return i - j; }, R"pbdoc(
230229
Subtract two numbers
231230
Some other explanation about the subtract function.
232231
)pbdoc");
@@ -267,8 +266,7 @@ PYBIND11_MODULE(_core, m) {
267266
Some other explanation about the add function.
268267
)pbdoc");
269268
270-
m.def(
271-
"subtract", [](int i, int j) { return i - j; }, R"pbdoc(
269+
m.def("subtract", [](int i, int j) { return i - j; }, R"pbdoc(
272270
Subtract two numbers
273271
Some other explanation about the subtract function.
274272
)pbdoc");

docs/pages/guides/style.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Here is the snippet to add the formatter to your `.pre-commit-config.yml`
111111

112112
```yaml
113113
- repo: https://github.com/astral-sh/ruff-pre-commit
114-
rev: "v0.3.0"
114+
rev: "v0.3.2"
115115
hooks:
116116
# id: ruff would go here if using both
117117
- id: ruff-format
@@ -201,7 +201,7 @@ pre-commit hook.
201201
202202
```yaml
203203
- repo: https://github.com/astral-sh/ruff-pre-commit
204-
rev: "v0.3.0"
204+
rev: "v0.3.2"
205205
hooks:
206206
- id: ruff
207207
args: ["--fix", "--show-fixes"]
@@ -535,7 +535,7 @@ The MyPy addition for pre-commit:
535535

536536
```yaml
537537
- repo: https://github.com/pre-commit/mirrors-mypy
538-
rev: "v1.8.0"
538+
rev: "v1.9.0"
539539
hooks:
540540
- id: mypy
541541
files: src
@@ -747,7 +747,7 @@ following pre-commit config:
747747

748748
```yaml
749749
- repo: https://github.com/pre-commit/mirrors-clang-format
750-
rev: "v17.0.6"
750+
rev: "v18.1.0"
751751
hooks:
752752
- id: clang-format
753753
types_or: [c++, c, cuda]

{{cookiecutter.project_name}}/.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ repos:
4040
args: [--prose-wrap=always]
4141

4242
- repo: https://github.com/astral-sh/ruff-pre-commit
43-
rev: "v0.3.0"
43+
rev: "v0.3.2"
4444
hooks:
4545
- id: ruff
4646
args: ["--fix", "--show-fixes"]
@@ -59,15 +59,15 @@ repos:
5959
{%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %}
6060

6161
- repo: https://github.com/pre-commit/mirrors-clang-format
62-
rev: "v17.0.6"
62+
rev: "v18.1.0"
6363
hooks:
6464
- id: clang-format
6565
types_or: [c++, c, cuda]
6666

6767
{%- endif %}
6868

6969
- repo: https://github.com/pre-commit/mirrors-mypy
70-
rev: "v1.8.0"
70+
rev: "v1.9.0"
7171
hooks:
7272
- id: mypy
7373
files: src|tests

{{cookiecutter.project_name}}/src/{% if cookiecutter.backend in ['pybind11','skbuild','mesonpy'] %}main.cpp{% endif %}

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ PYBIND11_MODULE(_core, m) {
2020
Some other explanation about the add function.
2121
)pbdoc");
2222

23-
m.def(
24-
"subtract", [](int i, int j) { return i - j; }, R"pbdoc(
23+
m.def("subtract", [](int i, int j) { return i - j; }, R"pbdoc(
2524
Subtract two numbers
2625
Some other explanation about the subtract function.
2726
)pbdoc");

0 commit comments

Comments
 (0)