1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-12-24 18:22:59 +00:00

Missing type hints

This commit is contained in:
Jörn-Michael Miehe 2021-12-02 17:17:42 +01:00
parent 45fc16c132
commit a416b7f2fc
3 changed files with 3 additions and 3 deletions

View file

@ -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}")

View file

@ -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

View file

@ -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)