File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ # https://pre-commit.com
3
+ default_language_version : {python: python3}
4
+ minimum_pre_commit_version : " 1.15"
5
+
6
+ # if adding/removing a repo, be sure to run `docker/pre_commit/update.py`
7
+ # to keep the docker test image up to date.
8
+
9
+ repos :
10
+ - repo : https://github.com/asottile/pyupgrade
11
+ rev : v1.26.2
12
+ hooks :
13
+ - id : pyupgrade
14
+ args : ["--py36-plus"]
15
+
16
+ - repo : https://github.com/psf/black
17
+ rev : 19.10b0
18
+ hooks :
19
+ - id : black
20
+ # checks for pre-commit config
21
+ - repo : meta
22
+ hooks :
23
+ - id : check-hooks-apply
24
+ - id : check-useless-excludes
25
+ - repo : https://github.com/pre-commit/pre-commit-hooks
26
+ rev : v2.4.0
27
+ hooks :
28
+ - id : check-added-large-files
29
+ args : ["--maxkb=1024"]
30
+ - id : check-merge-conflict
31
+ - id : check-yaml
32
+ args : ["--unsafe"]
33
+ - id : debug-statements
34
+ - id : detect-private-key
35
+ - id : forbid-new-submodules
36
+ - id : trailing-whitespace
You can’t perform that action at this time.
0 commit comments