-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
86 lines (85 loc) · 2.13 KB
/
.pre-commit-config.yaml
File metadata and controls
86 lines (85 loc) · 2.13 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
ci:
autoupdate_commit_msg: 'build(deps): pre-commit autoupdate'
autofix_commit_msg: 'style: apply auto fixes with pre-commit'
skip:
- pylint
repos:
- repo: https://github.com/aio-libs/sort-all
rev: v1.3.0
hooks:
- id: sort-all
files: ^src/
- repo: https://github.com/bwhmather/ssort
rev: 0.16.0
hooks:
- id: ssort
files: ^src/
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.3.1
hooks:
- id: black
- repo: https://github.com/hakancelikdev/unimport
rev: 1.3.1
hooks:
- id: unimport
files: ^src/
language_version: python3.12
- repo: https://github.com/PyCQA/isort
rev: 8.0.1
hooks:
- id: isort
name: isort-package
files: ^src/
args: [--settings-file, tox.ini]
- repo: https://github.com/PyCQA/isort
rev: 8.0.1
hooks:
- id: isort
name: isort-stubs
files: ^stubs/stubs/
args: [--settings-file, stubs/tox.ini]
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.8
hooks:
- id: docformatter
files: ^src/
args: [--config, tox.ini]
language_version: python3.12
- repo: https://github.com/coatl-dev/flake8
rev: 5.0.4
hooks:
- id: flake8
name: flake8-package
files: ^src/
args: [--config, tox.ini]
additional_dependencies: [pydoclint]
language_version: python3.12
- repo: https://github.com/PyCQA/flake8
rev: 7.3.0
hooks:
- id: flake8
name: flake8-stubs
types: [file]
files: \.(pyi)$
additional_dependencies: [flake8-pyi]
args: [--config, stubs/tox.ini]
- repo: https://github.com/PyCQA/pydocstyle
rev: 6.3.0
hooks:
- id: pydocstyle
files: ^src/
args: [--config, tox.ini]
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.13.10
hooks:
- id: commitizen
- id: commitizen-branch
stages: [pre-push]
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
files: ^src/
types: [python]