-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
96 lines (93 loc) · 1.84 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
84
85
86
87
88
89
90
91
92
93
94
95
96
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
args: ['--maxkb=100000']
- id: check-docstring-first
- id: check-merge-conflict
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-ast
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.3.4
hooks:
- id: ruff
args:
- --fix
- --select
- F401
- F402
- F403
- F504
- F522
- F541
- F601
- F602
- F631
- F632
- F634
- F701
- F702
- F704
- F706
- F821
- F841
- F842
- F901
- E711
- E712
- E713
- E714
- E721
- E722
- W292
- W605
- I001
- I002
- N804
- N805
- D101
- D102
- D103
- D104
- D200
- D201
- D202
- D207
- D208
- D209
- D211
- D213
- D214
- D215
- D403
- D405
- D414
- D419
- NPY001
- NPY002
- NPY003
- PERF101
- PERF102
- PERF403
- FURB105
- FURB148
- FURB168
- FURB169
- FURB177
- RUF020
- UP007
- UP039
# - repo: https://github.com/pycqa/flake8
# rev: 6.0.0
# hooks:
# - id: flake8
# args: ['--max-line-length=180']