File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/pre-commit/pre-commit-hooks
3+ rev : v4.1.0
4+ hooks :
5+ - id : double-quote-string-fixer
6+ types : [python]
7+ - id : end-of-file-fixer
8+ - id : mixed-line-ending
9+ types : [python]
10+ - id : trailing-whitespace
11+ types : [python]
12+
13+ - repo : https://github.com/pre-commit/mirrors-yapf
14+ rev : v0.32.0
15+ hooks :
16+ - id : yapf
17+ name : yapf
18+ types : [python]
19+ exclude : &exclude_files >
20+ (?x)^(
21+ docs/.*|
22+ )$
23+ args : ['-i']
24+ additional_dependencies : ['toml']
25+
26+ - repo : https://github.com/ikamensh/flynt/
27+ rev : ' 0.76'
28+ hooks :
29+ - id : flynt
30+ args : [
31+ ' --line-length=120' ,
32+ ' --fail-on-change' ,
33+ ]
34+
35+ - repo : https://github.com/asottile/pyupgrade
36+ rev : v2.31.1
37+ hooks :
38+ - id : pyupgrade
39+ args : [
40+ ' --py37-plus'
41+ ]
42+ exclude : ' ^(docs/)|(examples/)'
43+
44+ - repo : local
45+ hooks :
46+
47+ - id : pylint
48+ name : pylint
49+ entry : pylint
50+ types : [python]
51+ language : system
52+ exclude : ' ^(docs/)|(examples/)'
You can’t perform that action at this time.
0 commit comments