diff --git a/python/online/fxreader/pr34/commands_typed/cli.py b/python/online/fxreader/pr34/commands_typed/cli.py index ad62dce..c3119a9 100644 --- a/python/online/fxreader/pr34/commands_typed/cli.py +++ b/python/online/fxreader/pr34/commands_typed/cli.py @@ -20,6 +20,10 @@ from typing import ( MutableMapping, ) +from typing_extensions import ( + cast, +) + logger = logging.getLogger(__name__) @dataclasses.dataclass @@ -158,7 +162,7 @@ class CLI(abc.ABC): dependencies = sum([ pyproject.dependencies[o] for o in features - ], []) + ], cast(list[str], [])) pip_find_links : list[pathlib.Path] = [] @@ -178,7 +182,7 @@ class CLI(abc.ABC): *sum([ ['-f', str(o),] for o in pip_find_links - ], []), + ], cast(list[str], [])), # '-f', str(pathlib.Path(__file__).parent / 'deps' / 'dist'), '--offline', *dependencies, @@ -599,7 +603,7 @@ class CLI(abc.ABC): dependencies = sum([ pyproject.dependencies[o] for o in options.features - ], []) + ], cast(list[str], [])) pip_find_links : list[pathlib.Path] = [] @@ -641,7 +645,7 @@ class CLI(abc.ABC): *sum([ ['-f', str(o),] for o in pip_find_links - ], []), + ], cast(list[str], [])), '--generate-hashes', str(requirements_name_get_res.not_compiled), '-o',