File tree 1 file changed +63
-0
lines changed
1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ default_language_version :
2
+ python : python3.8
3
+
4
+ ci :
5
+ autofix_prs : true
6
+ autoupdate_commit_msg : ' [pre-commit.ci] pre-commit suggestions'
7
+ autoupdate_schedule : quarterly
8
+ # submodules: true
9
+
10
+ repos :
11
+ - repo : https://github.com/pre-commit/pre-commit-hooks
12
+ rev : v4.0.1
13
+ hooks :
14
+ - id : end-of-file-fixer
15
+ - id : trailing-whitespace
16
+ - id : check-yaml
17
+ - id : check-docstring-first
18
+ - id : check-executables-have-shebangs
19
+ - id : check-toml
20
+ - id : check-case-conflict
21
+ - id : check-added-large-files
22
+ args : ['--maxkb=1024']
23
+ - id : detect-private-key
24
+
25
+ # - repo: https://github.com/asottile/pyupgrade
26
+ # rev: v2.23.2
27
+ # hooks:
28
+ # - id: pyupgrade
29
+ # args: [--py36-plus]
30
+ # name: Upgrade code
31
+
32
+ # - repo: https://github.com/asottile/yesqa
33
+ # rev: v1.2.3
34
+ # hooks:
35
+ # - id: yesqa
36
+ # name: Unused noqa
37
+
38
+ # - repo: https://github.com/PyCQA/isort
39
+ # rev: 5.9.3
40
+ # hooks:
41
+ # - id: isort
42
+ # name: Format imports
43
+
44
+ # - repo: https://github.com/psf/black
45
+ # rev: 21.7b0
46
+ # hooks:
47
+ # - id: black
48
+ # name: Format code
49
+
50
+ # - repo: https://github.com/executablebooks/mdformat
51
+ # rev: 0.7.8
52
+ # hooks:
53
+ # - id: mdformat
54
+ # additional_dependencies:
55
+ # - mdformat-gfm
56
+ # - mdformat_frontmatter
57
+ # exclude: CHANGELOG.md
58
+
59
+ # - repo: https://github.com/PyCQA/flake8
60
+ # rev: 3.9.2
61
+ # hooks:
62
+ # - id: flake8
63
+ # name: Check PEP8
You can’t perform that action at this time.
0 commit comments