-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy path.pre-commit-config.yaml
41 lines (41 loc) · 1 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
minimum_pre_commit_version: 2.15.0
repos:
- repo: meta
hooks:
- id: identity
- id: check-hooks-apply
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.8.6'
hooks:
- id: ruff
args: ["--fix"]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
hooks:
- id: mypy
additional_dependencies: [types-setuptools]
- repo: https://github.com/thlorenz/doctoc
rev: "v2.2.0"
hooks:
- id: doctoc
args:
- "--github"
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
args: ["--strict"]
types: [yaml]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-case-conflict
- id: check-yaml
- id: debug-statements
- repo: https://github.com/zricethezav/gitleaks
rev: v8.22.1
hooks:
- id: gitleaks