-
Notifications
You must be signed in to change notification settings - Fork 5
/
.pre-commit-config.yaml
53 lines (48 loc) · 1.19 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
45
46
47
48
49
50
51
52
53
repos:
- repo: https://github.com/ambv/black
rev: 24.4.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: [ "--profile", "black" , "--split-on-trailing-comma", "true"]
additional_dependencies: [toml]
- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0
hooks:
- id: pydocstyle
additional_dependencies: [toml, tomli]
exclude: .*(test|__init__|version).*\.py
args: [
"--ignore=D10,D212,D203,D401"
]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2
hooks:
- id: gitleaks
- repo: https://github.com/PyCQA/pylint
rev: v3.3.1
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
args: [
"-j2"
]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
hooks:
- id: mypy
args: []
exclude: "tests/|examples/|docs/"
additional_dependencies:
- toml
- types-pytz
- types-requests
- types-setuptools
- importlib-metadata
- types-Pillow