File tree Expand file tree Collapse file tree 2 files changed +64
-0
lines changed Expand file tree Collapse file tree 2 files changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/pre-commit/pre-commit-hooks
3
+ rev : v2.5.0
4
+ hooks :
5
+ - id : trailing-whitespace
6
+ args : ['--markdown-linebreak-ext=md,markdown']
7
+ - id : end-of-file-fixer
8
+ - id : check-yaml
9
+ - id : check-added-large-files
10
+ - id : check-ast
11
+ - id : check-byte-order-marker
12
+ - id : check-merge-conflict
13
+ - id : debug-statements
14
+ - id : detect-private-key
15
+ - repo : https://github.com/psf/black
16
+ rev : 19.10b0
17
+ hooks :
18
+ - id : black
19
+ - repo : https://github.com/asottile/blacken-docs
20
+ rev : v1.7.0
21
+ hooks :
22
+ - id : blacken-docs
23
+ additional_dependencies : [black==19.10b0]
24
+ - repo : https://github.com/asottile/seed-isort-config
25
+ rev : v2.1.1
26
+ hooks :
27
+ - id : seed-isort-config
28
+ - repo : https://github.com/pre-commit/mirrors-isort
29
+ rev : v4.3.21
30
+ hooks :
31
+ - id : isort
32
+ - repo : https://github.com/pre-commit/pygrep-hooks
33
+ rev : v1.5.1
34
+ hooks :
35
+ - id : python-use-type-annotations
36
+ - id : python-no-eval
37
+ - id : python-no-log-warn
Original file line number Diff line number Diff line change
1
+ [tool .isort ]
2
+ line_length =88
3
+ multi_line_output =3
4
+ include_trailing_comma =true
5
+ use_parentheses =true
6
+
7
+ [tool .black ]
8
+ line-length = 88
9
+ target-version = [' py35' ]
10
+ include = ' \.pyi?$'
11
+ exclude = '''
12
+ (
13
+ /(
14
+ \.eggs # exclude a few common directories in the
15
+ | \.git # root of the project
16
+ | \.hg
17
+ | \.mypy_cache
18
+ | \.tox
19
+ | \.venv
20
+ | _build
21
+ | buck-out
22
+ | build
23
+ | dist
24
+ | venv
25
+ )/
26
+ )
27
+ '''
You can’t perform that action at this time.
0 commit comments