-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.pre-commit-config.yaml
44 lines (43 loc) · 1.17 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
42
43
44
repos:
- hooks:
- id: black
repo: https://github.com/psf/black
rev: 24.10.0
- hooks:
- id: ruff
args: ["--fix"]
repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
- hooks:
- id: debug-statements
exclude: ^docs(-source)?/
- id: trailing-whitespace
exclude: ^docs(-source)?/
- args:
- --allow-multiple-documents
id: check-yaml
exclude: ^docs(-source)?/
- id: check-builtin-literals
exclude: ^docs(-source)?/
- id: end-of-file-fixer
exclude: ^docs(-source)?/
- id: check-ast
exclude: ^docs(-source)?/
- id: check-docstring-first
exclude: ^docs(-source)?/
- id: requirements-txt-fixer
exclude: ^docs(-source)?/
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
- hooks:
- id: mypy
additional_dependencies: ['types-requests']
exclude: ^docs(-source)?/
repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.0
- hooks:
- id: commitizen
stages:
- commit-msg
repo: https://github.com/commitizen-tools/commitizen
rev: v4.1.0