mirror of
https://github.com/taoky/shadowmire.git
synced 2025-07-08 01:02:42 +00:00
Add type parameter for package_names list
This commit is contained in:
parent
972c94d35b
commit
17d48f2456
@ -560,7 +560,7 @@ class SyncBase:
|
||||
return self.parallel_update(to_update, prerelease_excludes)
|
||||
|
||||
def parallel_update(
|
||||
self, package_names: list, prerelease_excludes: list[re.Pattern[str]]
|
||||
self, package_names: list[str], prerelease_excludes: list[re.Pattern[str]]
|
||||
) -> bool:
|
||||
success = True
|
||||
with ThreadPoolExecutor(max_workers=WORKERS) as executor:
|
||||
|
Loading…
x
Reference in New Issue
Block a user