-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
70 lines (68 loc) · 2.1 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
70 lines (68 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# SPDX-FileCopyrightText: 2026 Copyright (c) Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
exclude: ^cda-database/src/(flatbuf/diagnostic_description|proto/fileformat)\.rs$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- id: check-toml
- id: check-json
- id: check-merge-conflict
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: '\.(patch|diff)$'
- id: mixed-line-ending
- repo: https://github.com/google/yamlfmt
rev: v0.21.0
hooks:
- id: yamlfmt
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.48.0
hooks:
- id: markdownlint-docker
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.12
hooks:
- id: ruff-check
- id: ruff-format
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.1
hooks:
- id: gitleaks
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.11.0
hooks:
- id: shellcheck
exclude: ^testcontainer/ecu-sim/gradlew$
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.4.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/eclipse-opensovd/cicd-workflows
rev: 07140bdd84f20b66fd4aff58a83c5148deec388c
hooks:
- id: reuse-annotate
- id: no-unicode-check
args:
- --allowed-chars=µ,§
- id: no-banner-comment-check
exclude: ^comm-mbedtls/
- id: validate-cargo-lints
- id: cargo-fmt
- id: clippy
name: Clippy
entry: shared-config/cargo-clippy.sh
language: script
pass_filenames: false
args: ["--all-targets", "--", "-D", "warnings"]
- id: check-hooks