Skip to content

Commit

Permalink
Merge pull request #1324 from loco-3d/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
cmastalli authored Nov 26, 2024
2 parents 206c56f + 4f65404 commit ecdefdd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ci:
autoupdate_branch: devel
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.4
rev: v0.8.0
hooks:
- id: ruff
args:
Expand All @@ -14,11 +14,11 @@ repos:
hooks:
- id: cmake-format
- repo: https://github.com/pappasam/toml-sort
rev: v0.24.1
rev: v0.24.2
hooks:
- id: toml-sort-fix
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.3
rev: v19.1.4
hooks:
- id: clang-format
args:
Expand Down
4 changes: 2 additions & 2 deletions examples/notebooks/p2p.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
display = crocoddyl.GepettoDisplay(robot, cameraTF=cameraTF, floor=False)
gv = display.robot.viewer.gui
for i, p in enumerate(ps):
gv.addSphere("world/point%d" % i, 0.05, colors[i])
gv.applyConfiguration("world/point%d" % i, [*p.tolist(), 0.0, 0.0, 0.0, 1.0])
gv.addSphere(f"world/point{i}", 0.05, colors[i])
gv.applyConfiguration(f"world/point{i}", [*p.tolist(), 0.0, 0.0, 0.0, 1.0])
gv.refresh()

# State and control regularization costs
Expand Down

0 comments on commit ecdefdd

Please sign in to comment.