forked from COVESA/vss-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
30 lines (30 loc) · 923 Bytes
/
.pre-commit-config.yaml
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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: "^obsolete"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-merge-conflict
- id: trailing-whitespace
exclude_types: ["csv", "proto"]
- id: end-of-file-fixer
exclude_types: ["json", "proto"]
exclude: ".*\\.[fidl|jsonschema]"
- id: check-yaml
- id: check-toml
- id: check-added-large-files
- id: mixed-line-ending
exclude: ".*\\.csv"
- id: check-vcs-permalinks
- id: debug-statements
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
hooks:
- id: ruff
args: [ --fix, --unsafe-fixes ]
- id: ruff-format