mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-21 20:33: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"
|
||||
|
||||
@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}")
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ from kiwi_scp.commands.cli import KiwiCLI
|
|||
|
||||
|
||||
@click.command(cls=KiwiCLI)
|
||||
def main():
|
||||
def main() -> None:
|
||||
"""kiwi is the simple tool for managing container servers."""
|
||||
|
||||
verbosity = 0
|
||||
|
|
|
@ -8,7 +8,7 @@ from ._constants import HEADER_KIWI_CONF_NAME
|
|||
|
||||
|
||||
class YAML(ruamel.yaml.YAML):
|
||||
def __init__(self, *args, **kwargs):
|
||||
def __init__(self, *args, **kwargs) -> None:
|
||||
super().__init__(*args, **kwargs)
|
||||
self.indent(offset=2)
|
||||
|
||||
|
|
Loading…
Reference in a new issue