[+] improve mypy step while deploy:wheel

This commit is contained in:
Siarhei Siniak 2024-12-22 21:07:05 +03:00
parent 93437359a8
commit 0cee9beaea
2 changed files with 7 additions and 4 deletions

@ -139,6 +139,7 @@ class CLI(_cli.CLI):
project_name=options.project, project_name=options.project,
argv=args, argv=args,
output_dir=options.output_dir, output_dir=options.output_dir,
mypy=True,
) )
elif options.command is Command.mypy: elif options.command is Command.mypy:
self.mypy( self.mypy(

@ -24,6 +24,7 @@ class Project:
source_dir : pathlib.Path source_dir : pathlib.Path
build_dir : pathlib.Path build_dir : pathlib.Path
dest_dir : pathlib.Path dest_dir : pathlib.Path
meson_path: Optional[pathlib.Path] = None
@dataclasses.dataclass @dataclasses.dataclass
class Dependency: class Dependency:
@ -157,6 +158,7 @@ class CLI(abc.ABC):
assert argv is None or len(argv) == 0 assert argv is None or len(argv) == 0
if not project.meson_path is None:
self.meson_install( self.meson_install(
project_name=project_name, project_name=project_name,
force=force, force=force,