-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (37 loc) · 999 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
41 lines (37 loc) · 999 Bytes
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: check-json
- id: check-yaml
- id: check-toml
- id: check-added-large-files
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.11.0.1
hooks:
- id: shellcheck
name: check shell scripts
- repo: local
hooks:
- id: clang-tidy
name: lint with clang
entry: uv run clangd-tidy
language: unsupported
files: ^src/
types_or: [c, c++]
require_serial: true
- id: clang-format
name: format with clang
entry: uv run clang-format
args: [-i]
language: unsupported
files: ^src/
types_or: [c, c++]
- repo: https://github.com/pysentry/pysentry-pre-commit
rev: v0.4.5
hooks:
- id: pysentry
name: audit dependencies