Skip to content

Commit 4d8b4e4

Browse files
committed
fix(pre-commit): always exclude src/lib git subrepos
1 parent 8b63922 commit 4d8b4e4

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
exclude: |
2+
^src/lib/|
3+
^src/bitbots_team_communication/bitbots_team_communication/bitbots_team_communication/RobocupProtocol/
4+
15
repos:
26
- repo: https://github.com/astral-sh/ruff-pre-commit
37
rev: v0.9.6
@@ -14,7 +18,6 @@ repos:
1418
args:
1519
- "-i"
1620
- id: cppcheck
17-
exclude: &exclude_robocup_protocol ^src/bitbots_team_communication/bitbots_team_communication/bitbots_team_communication/RobocupProtocol/
1821
args:
1922
- "--inline-suppr"
2023
- "--suppress=missingIncludeSystem"
@@ -28,13 +31,11 @@ repos:
2831
hooks:
2932
- id: cmake-format
3033
- id: cmake-lint
31-
exclude: *exclude_robocup_protocol
3234
- repo: https://github.com/pre-commit/pre-commit-hooks
3335
rev: v5.0.0
3436
hooks:
3537
- id: check-merge-conflict
3638
- id: check-toml
3739
- id: check-xml
3840
- id: check-yaml
39-
exclude: *exclude_robocup_protocol
4041
- id: detect-private-key

0 commit comments

Comments
 (0)