mirror of
https://github.com/taoky/shadowmire.git
synced 2025-07-11 20:08:50 +00:00
Add type parameter for package_names list
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user