Skip to content

Commit

Permalink
Merge pull request #1297 from nim65s/pre-commit-fix
Browse files Browse the repository at this point in the history
update ruff config
  • Loading branch information
cmastalli committed Sep 4, 2024
2 parents e99022d + 3a06131 commit 3918173
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ repos:
args:
- --fix
- --exit-non-zero-on-fix
- --ignore
- UP036
- id: ruff-format
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

* Ignore ruff issues in ipython notebook files in https://github.com/loco-3d/crocoddyl/pull/1297
* Improved efficiency for computing impulse-dynamics derivatives in https://github.com/loco-3d/crocoddyl/pull/1294
* Fixed bug of wrench cone fields not being updated with setters in https://github.com/loco-3d/crocoddyl/pull/1274
* Replaced parent by parentJoint (which was introduced in Pinocchio 3) in https://github.com/loco-3d/crocoddyl/pull/1271
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tool.ruff]
extend-exclude = ["cmake"]
extend-exclude = ["*.ipynb", "cmake"]

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

[tool.ruff.lint.isort]
Expand Down

0 comments on commit 3918173

Please sign in to comment.