mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-22 12:53:00 +00:00
Missing type hints
This commit is contained in:
parent
45fc16c132
commit
a416b7f2fc
3 changed files with 3 additions and 3 deletions
|
@ -130,7 +130,7 @@ class KiwiCommand:
|
||||||
return answer == "yes"
|
return answer == "yes"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def run(cls, instance: Instance, project_names: List[str], service_names: List[str], **kwargs):
|
def run(cls, instance: Instance, project_names: List[str], service_names: List[str], **kwargs) -> None:
|
||||||
|
|
||||||
_logger.debug(f"{instance.directory!r}: {project_names!r}, {service_names!r}")
|
_logger.debug(f"{instance.directory!r}: {project_names!r}, {service_names!r}")
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ from kiwi_scp.commands.cli import KiwiCLI
|
||||||
|
|
||||||
|
|
||||||
@click.command(cls=KiwiCLI)
|
@click.command(cls=KiwiCLI)
|
||||||
def main():
|
def main() -> None:
|
||||||
"""kiwi is the simple tool for managing container servers."""
|
"""kiwi is the simple tool for managing container servers."""
|
||||||
|
|
||||||
verbosity = 0
|
verbosity = 0
|
||||||
|
|
|
@ -8,7 +8,7 @@ from ._constants import HEADER_KIWI_CONF_NAME
|
||||||
|
|
||||||
|
|
||||||
class YAML(ruamel.yaml.YAML):
|
class YAML(ruamel.yaml.YAML):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs) -> None:
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
self.indent(offset=2)
|
self.indent(offset=2)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue