Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit dfd800d

Browse files
Merge pull request #129 from Simple-Robotics/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
1 parent d5a2c4f commit dfd800d

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44
autoupdate_schedule: quarterly
55
repos:
66
- repo: https://github.com/pre-commit/mirrors-clang-format
7-
rev: v19.1.6
7+
rev: v20.1.0
88
hooks:
99
- id: clang-format
1010
types_or: []
@@ -28,14 +28,14 @@ repos:
2828
)$
2929
- repo: https://github.com/astral-sh/ruff-pre-commit
3030
# Ruff version.
31-
rev: 'v0.8.6'
31+
rev: 'v0.11.4'
3232
hooks:
3333
- id: ruff
3434
args: [--fix, --exit-non-zero-on-fix]
3535
# Run the formatter.
3636
- id: ruff-format
3737
- repo: https://github.com/BlankSpruce/gersemi
38-
rev: 0.17.1
38+
rev: 0.19.2
3939
hooks:
4040
- id: gersemi
4141
- repo: https://github.com/Lucas-C/pre-commit-hooks

bindings/python/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ function(MAKE_BINDINGS)
5757
install(
5858
TARGETS ${PYLIB_NAME}
5959
EXPORT ${TARGETS_EXPORT_NAME}
60-
DESTINATION
61-
${${PYLIB_NAME}_INSTALL_DIR}
60+
DESTINATION ${${PYLIB_NAME}_INSTALL_DIR}
6261
)
6362
endfunction()
6463

bindings/python/expose-manifold.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ void exposeManifoldBase() {
5757
.def<BinaryFunTypeRet>("difference", &Manifold::difference,
5858
("self"_a, "x0", "x1"))
5959
.def("interpolate",
60-
(void(Manifold::*)(const ConstVectorRef &, const ConstVectorRef &,
61-
const Scalar &, VectorRef)
60+
(void (Manifold::*)(const ConstVectorRef &, const ConstVectorRef &,
61+
const Scalar &, VectorRef)
6262
const)(&Manifold::interpolate),
6363
("self"_a, "x0", "x1", "u", "out"))
64-
.def(
65-
"interpolate",
66-
(VectorXs(Manifold::*)(const ConstVectorRef &, const ConstVectorRef &,
67-
const Scalar &) const)(&Manifold::interpolate),
68-
("self"_a, "x0", "x1", "u"),
69-
"Interpolate between two points on the manifold. Allocated version.")
64+
.def("interpolate",
65+
(VectorXs (Manifold::*)(const ConstVectorRef &,
66+
const ConstVectorRef &, const Scalar &)
67+
const)(&Manifold::interpolate),
68+
("self"_a, "x0", "x1", "u"),
69+
"Interpolate between two points on the manifold. Allocated version.")
7070
.def<JacobianFunType>("Jintegrate", &Manifold::Jintegrate,
7171
("self"_a, "x", "v", "Jout", "arg"),
7272
"Compute the Jacobian of the exp operator.")

0 commit comments

Comments
 (0)