-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (33 loc) · 991 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
33 lines (33 loc) · 991 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
default_install_hook_types:
- pre-commit
- commit-msg
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0
hooks:
- id: check-added-large-files
args: [ "--maxkb=500" ]
exclude: ^uv.lock$
- id: check-toml
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: local-ruff-check
name: ruff check
entry: uv run ruff check --force-exclude --fix --exit-non-zero-on-fix
require_serial: true
language: unsupported
types: [ python ]
- id: local-mypy
name: mypy check
entry: uv run mypy
require_serial: true
language: unsupported
pass_filenames: false
- repo: https://github.com/commitizen-tools/commitizen
rev: b5d5040f7980a5d2bce320d2a1ea1e04ac54b00c # v4.10.0
hooks:
- id: commitizen
stages: [ commit-msg ]