File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-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
+ - id : check-yaml
12
+ - id : check-toml
13
+ - id : check-case-conflict
14
+ - id : check-merge-conflict
15
+ - id : debug-statements
16
+ - id : detect-private-key
17
+ exclude : |
18
+ (?x)^(
19
+ tests/.+|
20
+ example/.+
21
+ )$
22
+
23
+ - repo : https://github.com/asottile/pyupgrade
24
+ rev : v3.2.2
25
+ hooks :
26
+ - id : pyupgrade
27
+ args : [--py36-plus]
28
+
29
+ - repo : https://github.com/PyCQA/autoflake
30
+ rev : ' v1.7.7'
31
+ hooks :
32
+ - id : autoflake
33
+ args : ['--in-place', '--remove-all-unused-imports', '--ignore-init-module-imports']
34
+
35
+ - repo : https://github.com/PyCQA/isort
36
+ rev : 5.10.1
37
+ hooks :
38
+ - id : isort
39
+ name : isort (python)
40
+ args : ['--settings-path=pyproject.toml']
41
+
42
+ - repo : https://github.com/psf/black
43
+ rev : 22.10.0
44
+ hooks :
45
+ - id : black
46
+
47
+ - repo : https://github.com/PyCQA/flake8
48
+ rev : 5.0.4
49
+ hooks :
50
+ - id : flake8
51
+ additional_dependencies : [Flake8-pyproject, flake8-bugbear, flake8-logging-format]
52
+ verbose : true
You can’t perform that action at this time.
0 commit comments