Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
exclude: |
(?x)(
^src/lib/|
^src/bitbots_team_communication/bitbots_team_communication/bitbots_team_communication/RobocupProtocol/
)

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.6
Expand All @@ -14,7 +20,6 @@ repos:
args:
- "-i"
- id: cppcheck
exclude: &exclude_robocup_protocol ^src/bitbots_team_communication/bitbots_team_communication/bitbots_team_communication/RobocupProtocol/
args:
- "--inline-suppr"
- "--suppress=missingIncludeSystem"
Expand All @@ -28,13 +33,11 @@ repos:
hooks:
- id: cmake-format
- id: cmake-lint
exclude: *exclude_robocup_protocol
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: check-toml
- id: check-xml
- id: check-yaml
exclude: *exclude_robocup_protocol
- id: detect-private-key
100 changes: 100 additions & 0 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ make = ">=4.4.1,<5" # To avoid issues in the CI
webots = ">=2022b,<2023a"

[feature.format.dependencies]
# Add git-subrepo to format dependencies as currently there are
# sqlite conflicts in the default/ros environment preventing execution
# of pre-commit hooks running after commits from the git-subrepo cli
git-subrepo = ">=0.4.9,<0.5"
clang-format = ">=21.1.0,<22"
cppcheck = ">=2.18.3,<3"
pre-commit = ">=4.4.0,<5"
Expand Down
Loading