-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (34 loc) · 874 Bytes
/
.pre-commit-config.yaml
File metadata and controls
38 lines (34 loc) · 874 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
repos:
- repo: local
hooks:
- id: cpp-build
name: Build C++ code
entry: g++
language: system
files: 'processes/*\.cpp$'
stages: [ pre-push ]
- id: ruff-format
name: Ruff format
entry: ruff format
language: system
types: [ python ]
stages: [ pre-commit ]
- id: ruff-check-and-fix
name: Ruff check and fix
entry: ruff check
args: [ --fix ]
language: system
types: [ python ]
stages: [ pre-commit ]
- id: mypy-type-check
name: MyPy type check
entry: mypy
language: system
types: [ python ]
stages: [ pre-commit ]
- repo: "https://github.com/astral-sh/uv-pre-commit"
rev: 0.8.13
hooks:
- id: uv-lock
name: Update uv.lock
stages: [ pre-commit ]