-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
83 lines (74 loc) · 1.73 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
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-docstring-first
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: double-quote-string-fixer
- id: fix-byte-order-marker
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/best-doctor/pre-commit-hooks
rev: v1.0.11
hooks:
- id: mccabe-complexity
name: Check functions complexity
language: python
- id: line-count
name: Check number of lines in python files
language: python
- repo: https://github.com/ambv/black
rev: 23.3.0
hooks:
- id: black
- repo: local
hooks:
- id: isort
name: isort
entry: isort
args:
- .
language: system
pass_filenames: false
- repo: https://github.com/MarcoGorelli/absolufy-imports
rev: v0.3.1
hooks:
- id: absolufy-imports
- repo: https://github.com/PyCQA/pylint
rev: v3.0.0a6
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
pass_filenames: false
args:
- excelalchemy
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.9.0
hooks:
- id: reorder-python-imports
name: Reorder imports
pass_filenames: false
- repo: local
hooks:
- id: pyright
name: pyright
entry: pyright
language: system
pass_filenames: false
args:
- excelalchemy
- repo: local
hooks:
- id: mypy
name: mypy
entry: mypy
args:
- excelalchemy
pass_filenames: false
language: system