[+] 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,
|
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,10 +158,11 @@ class CLI(abc.ABC):
|
|||||||
|
|
||||||
assert argv is None or len(argv) == 0
|
assert argv is None or len(argv) == 0
|
||||||
|
|
||||||
self.meson_install(
|
if not project.meson_path is None:
|
||||||
project_name=project_name,
|
self.meson_install(
|
||||||
force=force,
|
project_name=project_name,
|
||||||
)
|
force=force,
|
||||||
|
)
|
||||||
|
|
||||||
if mypy:
|
if mypy:
|
||||||
self.mypy([])
|
self.mypy([])
|
||||||
|
Loading…
Reference in New Issue
Block a user