File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 8
8
hooks :
9
9
- id : pyupgrade
10
10
- repo : https://github.com/psf/black
11
- rev : 23.10.1
11
+ rev : 23.11.0
12
12
hooks :
13
13
- id : black
14
14
- repo : https://github.com/pre-commit/mirrors-prettier
15
- rev : v3.0.3
15
+ rev : v3.1.0
16
16
hooks :
17
17
- id : prettier
18
18
- repo : https://github.com/pre-commit/pre-commit-hooks
@@ -44,14 +44,14 @@ repos:
44
44
- id : isort
45
45
args : [--profile, black]
46
46
- repo : https://github.com/pre-commit/mirrors-mypy
47
- rev : v1.6 .1
47
+ rev : v1.7 .1
48
48
hooks :
49
49
- id : mypy
50
50
args : [--show-error-codes, --ignore-missing-imports]
51
51
additional_dependencies :
52
52
[types-pkg_resources, types-requests, types-python-dateutil]
53
53
- repo : https://github.com/teemtee/tmt.git
54
- rev : 1.28.2
54
+ rev : 1.29.0
55
55
hooks :
56
56
- id : tmt-lint
57
57
# linting of the reverse-dependency tests requires internet access
Original file line number Diff line number Diff line change @@ -354,7 +354,9 @@ def sources(
354
354
try :
355
355
yield Sources (
356
356
tags ,
357
- list (zip (* sourcelists ))[1 ] if sourcelists else [],
357
+ cast (List [Sourcelist ], list (zip (* sourcelists ))[1 ])
358
+ if sourcelists
359
+ else [],
358
360
allow_duplicates ,
359
361
default_to_implicit_numbering ,
360
362
default_source_number_digits ,
@@ -391,7 +393,9 @@ def patches(
391
393
try :
392
394
yield Patches (
393
395
tags ,
394
- list (zip (* patchlists ))[1 ] if patchlists else [],
396
+ cast (List [Sourcelist ], list (zip (* patchlists ))[1 ])
397
+ if patchlists
398
+ else [],
395
399
allow_duplicates ,
396
400
default_to_implicit_numbering ,
397
401
default_source_number_digits ,
You can’t perform that action at this time.
0 commit comments