File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 3
3
autoupdate_schedule : monthly
4
4
repos :
5
5
- repo : https://github.com/asottile/pyupgrade
6
- rev : v3.10.1
6
+ rev : v3.15.0
7
7
hooks :
8
8
- id : pyupgrade
9
9
args : ["--py37-plus"]
10
10
- repo : https://github.com/asottile/reorder-python-imports
11
- rev : v3.10 .0
11
+ rev : v3.12 .0
12
12
hooks :
13
13
- id : reorder-python-imports
14
14
args : ["--application-directories", "src"]
15
15
- repo : https://github.com/psf/black
16
- rev : 23.7.0
16
+ rev : 23.12.1
17
17
hooks :
18
18
- id : black
19
19
- repo : https://github.com/PyCQA/flake8
20
- rev : 6.1 .0
20
+ rev : 7.0 .0
21
21
hooks :
22
22
- id : flake8
23
23
additional_dependencies : [flake8-bugbear]
26
26
hooks :
27
27
- id : pip-compile-multi-verify
28
28
- repo : https://github.com/pre-commit/pre-commit-hooks
29
- rev : v4.4 .0
29
+ rev : v4.5 .0
30
30
hooks :
31
31
- id : fix-byte-order-marker
32
32
- id : trailing-whitespace
Original file line number Diff line number Diff line change @@ -1406,15 +1406,15 @@ def _make_finalize(self) -> _FinalizeInfo:
1406
1406
1407
1407
if pass_arg is None :
1408
1408
1409
- def finalize (value : t .Any ) -> t .Any :
1409
+ def finalize (value : t .Any ) -> t .Any : # noqa: F811
1410
1410
return default (env_finalize (value ))
1411
1411
1412
1412
else :
1413
1413
src = f"{ src } { pass_arg } , "
1414
1414
1415
1415
if pass_arg == "environment" :
1416
1416
1417
- def finalize (value : t .Any ) -> t .Any :
1417
+ def finalize (value : t .Any ) -> t .Any : # noqa: F811
1418
1418
return default (env_finalize (self .environment , value ))
1419
1419
1420
1420
self ._finalize = self ._FinalizeInfo (finalize , src )
Original file line number Diff line number Diff line change @@ -859,7 +859,7 @@ def parse_subscribed(self) -> nodes.Expr:
859
859
else :
860
860
args .append (None )
861
861
862
- return nodes .Slice (lineno = lineno , * args )
862
+ return nodes .Slice (lineno = lineno , * args ) # noqa: B026
863
863
864
864
def parse_call_args (self ) -> t .Tuple :
865
865
token = self .stream .expect ("lparen" )
You can’t perform that action at this time.
0 commit comments