File tree 4 files changed +10
-12
lines changed
4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : v4.5 .0
3
+ rev : v5.0 .0
4
4
hooks :
5
5
- id : check-byte-order-marker
6
6
- id : trailing-whitespace
9
9
args : [--remove]
10
10
- id : check-yaml
11
11
- repo : https://github.com/asottile/reorder-python-imports
12
- rev : v3.12 .0
12
+ rev : v3.13 .0
13
13
hooks :
14
14
- id : reorder-python-imports
15
15
args : ['--application-directories=.:src', --py3-plus]
16
16
- repo : https://github.com/psf/black
17
- rev : 23.12.1
17
+ rev : 24.10.0
18
18
hooks :
19
19
- id : black
20
20
- repo : https://github.com/PyCQA/flake8
21
- rev : 6 .1.0
21
+ rev : 7 .1.1
22
22
hooks :
23
23
- id : flake8
24
24
additional_dependencies : [flake8-bugbear]
@@ -31,11 +31,11 @@ repos:
31
31
language : python
32
32
additional_dependencies : [pygments, restructuredtext_lint]
33
33
- repo : https://github.com/PyCQA/autoflake
34
- rev : v2.2 .1
34
+ rev : v2.3 .1
35
35
hooks :
36
36
- id : autoflake
37
37
- repo : https://github.com/pre-commit/mirrors-mypy
38
- rev : v1.8.0
38
+ rev : v1.11.2
39
39
hooks :
40
40
- id : mypy
41
41
files : ^(src/|tests/)
Original file line number Diff line number Diff line change @@ -64,4 +64,5 @@ ignore =
64
64
W503
65
65
F401
66
66
F811
67
+ E704
67
68
max-line-length = 80
Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ def run(
22
22
debug : Union [bool , None ] = None ,
23
23
load_dotenv : bool = True ,
24
24
** options : Any ,
25
- ) -> None :
26
- ...
25
+ ) -> None : ...
27
26
28
27
29
28
# force 'fork' on macOS
Original file line number Diff line number Diff line change 32
32
class _SupportsPytestFlaskEqual (Protocol ):
33
33
status_code : int
34
34
35
- def __eq__ (self , other : Any ) -> bool :
36
- ...
35
+ def __eq__ (self , other : Any ) -> bool : ...
37
36
38
- def __ne__ (self , other : Any ) -> bool :
39
- ...
37
+ def __ne__ (self , other : Any ) -> bool : ...
40
38
41
39
42
40
class JSONResponse :
You can’t perform that action at this time.
0 commit comments