Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 31, 2024
1 parent 37d553b commit ececb98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/notebooks/p2p.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@
for runningModel, terminalModel in zip(runningModels, terminalModels)
]
problem = crocoddyl.ShootingProblem(
x0, sum(seqs, [])[:-1], seqs[-1][-1] # noqa: RUF017
x0,
sum(seqs, [])[:-1],
seqs[-1][-1], # noqa: RUF017
)

# Creating the DDP solver for this OC problem, defining a logger
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
extend-exclude = ["cmake"]

[tool.ruff.lint]
extend-select = ["I", "NPY", "RUF", "UP", "W"]
extend-ignore = ["RUF012"]
extend-select = ["I", "NPY", "RUF", "UP", "W"]

[tool.ruff.lint.isort]
known-first-party = ["crocoddyl"]
Expand Down

0 comments on commit ececb98

Please sign in to comment.