File tree 2 files changed +17
-18
lines changed
2 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 4
4
hooks :
5
5
- id : trailing-whitespace
6
6
- id : end-of-file-fixer
7
- - id : check-docstring-first
8
7
- id : check-yaml
9
8
- id : debug-statements
9
+ - id : double-quote-string-fixer
10
10
- id : name-tests-test
11
11
- id : requirements-txt-fixer
12
- - repo : https://github.com/PyCQA/flake8
13
- rev : 4.0.1
14
- hooks :
15
- - id : flake8
16
- additional_dependencies : [flake8-typing-imports==1.12.0]
17
- - repo : https://github.com/pre-commit/mirrors-autopep8
18
- rev : v1.6.0
12
+ - repo : https://github.com/asottile/setup-cfg-fmt
13
+ rev : v1.20.0
19
14
hooks :
20
- - id : autopep8
15
+ - id : setup-cfg-fmt
21
16
- repo : https://github.com/asottile/reorder_python_imports
22
17
rev : v3.0.1
23
18
hooks :
24
19
- id : reorder-python-imports
25
20
args : [--py37-plus, --add-import, 'from __future__ import annotations']
21
+ - repo : https://github.com/asottile/add-trailing-comma
22
+ rev : v2.2.1
23
+ hooks :
24
+ - id : add-trailing-comma
25
+ args : [--py36-plus]
26
26
- repo : https://github.com/asottile/pyupgrade
27
27
rev : v2.31.1
28
28
hooks :
29
29
- id : pyupgrade
30
30
args : [--py37-plus]
31
- - repo : https://github.com/asottile/add-trailing-comma
32
- rev : v2.2.1
31
+ - repo : https://github.com/pre-commit/mirrors-autopep8
32
+ rev : v1.6.0
33
33
hooks :
34
- - id : add-trailing-comma
35
- args : [--py36-plus]
36
- - repo : https://github.com/asottile/setup-cfg-fmt
37
- rev : v1.20.0
34
+ - id : autopep8
35
+ - repo : https://github.com/PyCQA/flake8
36
+ rev : 4.0.1
38
37
hooks :
39
- - id : setup-cfg-fmt
38
+ - id : flake8
40
39
- repo : https://github.com/pre-commit/mirrors-mypy
41
- rev : v0.941
40
+ rev : v0.942
42
41
hooks :
43
42
- id : mypy
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ HTML = '''\
14
14
15
15
16
16
def main () -> int :
17
- links = "" .join (
17
+ links = '' .join (
18
18
f'<li><a href="demo/{ f } ">{ f } </a></li>'
19
19
for f in sorted (os .listdir ('demo' )) if f .endswith ('_pytest.html' )
20
20
)
You can’t perform that action at this time.
0 commit comments