[+] improve mypy step while deploy:wheel
This commit is contained in:
parent
93437359a8
commit
0cee9beaea
@ -139,6 +139,7 @@ class CLI(_cli.CLI):
|
||||
project_name=options.project,
|
||||
argv=args,
|
||||
output_dir=options.output_dir,
|
||||
mypy=True,
|
||||
)
|
||||
elif options.command is Command.mypy:
|
||||
self.mypy(
|
||||
|
@ -24,6 +24,7 @@ class Project:
|
||||
source_dir : pathlib.Path
|
||||
build_dir : pathlib.Path
|
||||
dest_dir : pathlib.Path
|
||||
meson_path: Optional[pathlib.Path] = None
|
||||
|
||||
@dataclasses.dataclass
|
||||
class Dependency:
|
||||
@ -157,10 +158,11 @@ class CLI(abc.ABC):
|
||||
|
||||
assert argv is None or len(argv) == 0
|
||||
|
||||
self.meson_install(
|
||||
project_name=project_name,
|
||||
force=force,
|
||||
)
|
||||
if not project.meson_path is None:
|
||||
self.meson_install(
|
||||
project_name=project_name,
|
||||
force=force,
|
||||
)
|
||||
|
||||
if mypy:
|
||||
self.mypy([])
|
||||
|
Loading…
Reference in New Issue
Block a user