File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ exclude : ' docs|.git|.tox|.venv'
2
+ default_stages : [commit]
3
+ fail_fast : true
4
+
5
+ repos :
6
+ - repo : https://github.com/pre-commit/pre-commit-hooks
7
+ rev : v4.3.0
8
+ hooks :
9
+ - id : trailing-whitespace
10
+ - id : end-of-file-fixer
11
+ exclude : |
12
+ (?x)^(
13
+ tests/extra_lines.crt
14
+ )$
15
+ - id : check-yaml
16
+ - id : check-toml
17
+ - id : check-case-conflict
18
+ - id : check-merge-conflict
19
+ - id : debug-statements
20
+ - id : detect-private-key
21
+ exclude : |
22
+ (?x)^(
23
+ tests/.+|
24
+ example/.+
25
+ )$
26
+
27
+ - repo : https://github.com/asottile/pyupgrade
28
+ rev : v3.2.2
29
+ hooks :
30
+ - id : pyupgrade
31
+ args : [--py36-plus]
32
+
33
+ - repo : https://github.com/PyCQA/autoflake
34
+ rev : ' v1.7.7'
35
+ hooks :
36
+ - id : autoflake
37
+ args : ['--in-place', '--remove-all-unused-imports', '--ignore-init-module-imports']
38
+
39
+ - repo : https://github.com/PyCQA/isort
40
+ rev : 5.10.1
41
+ hooks :
42
+ - id : isort
43
+ name : isort (python)
44
+ args : ['--settings-path=pyproject.toml']
45
+
46
+ - repo : https://github.com/psf/black
47
+ rev : 22.10.0
48
+ hooks :
49
+ - id : black
50
+
51
+ - repo : https://github.com/PyCQA/flake8
52
+ rev : 5.0.4
53
+ hooks :
54
+ - id : flake8
55
+ additional_dependencies : [Flake8-pyproject, flake8-bugbear, flake8-logging-format]
56
+ verbose : true
You can’t perform that action at this time.
0 commit comments