From b16a423a9d4e098a04fc459516027faeb7907570 Mon Sep 17 00:00:00 2001 From: ldericher <40151420+ldericher@users.noreply.github.com> Date: Tue, 2 Nov 2021 17:21:31 +0100 Subject: [PATCH] Reformat --- kiwi_scp/commands/cli.py | 2 -- kiwi_scp/commands/decorators.py | 2 +- kiwi_scp/config.py | 1 - kiwi_scp/instance.py | 1 - kiwi_scp/subcommands/__init__.py | 1 - kiwi_scp/subcommands/show.py | 1 + 6 files changed, 2 insertions(+), 6 deletions(-) diff --git a/kiwi_scp/commands/cli.py b/kiwi_scp/commands/cli.py index 60f4323..b863f4e 100644 --- a/kiwi_scp/commands/cli.py +++ b/kiwi_scp/commands/cli.py @@ -49,5 +49,3 @@ class KiwiCommandType(Enum): INSTANCE = auto() PROJECT = auto() SERVICE = auto() - - diff --git a/kiwi_scp/commands/decorators.py b/kiwi_scp/commands/decorators.py index 7968992..d86fc1e 100644 --- a/kiwi_scp/commands/decorators.py +++ b/kiwi_scp/commands/decorators.py @@ -58,4 +58,4 @@ def kiwi_command( return cmd - return decorator \ No newline at end of file + return decorator diff --git a/kiwi_scp/config.py b/kiwi_scp/config.py index 97956d3..e78b6cd 100644 --- a/kiwi_scp/config.py +++ b/kiwi_scp/config.py @@ -1,5 +1,4 @@ import functools -import io from ipaddress import IPv4Network from pathlib import Path from typing import Optional, Dict, List, Any, TextIO diff --git a/kiwi_scp/instance.py b/kiwi_scp/instance.py index 1a27ff0..e6c9ee5 100644 --- a/kiwi_scp/instance.py +++ b/kiwi_scp/instance.py @@ -4,7 +4,6 @@ from pathlib import Path from typing import Generator, List, Tuple, Optional import attr -import click from ruamel.yaml.comments import CommentedMap from ._constants import COMPOSE_FILE_NAME diff --git a/kiwi_scp/subcommands/__init__.py b/kiwi_scp/subcommands/__init__.py index f958982..cd108a6 100644 --- a/kiwi_scp/subcommands/__init__.py +++ b/kiwi_scp/subcommands/__init__.py @@ -6,7 +6,6 @@ from .cmd import CmdCommand from .disable import DisableCommand from .down import DownCommand from .enable import EnableCommand -from .init import InitCommand from .logs import LogsCommand from .new import NewCommand from .pull import PullCommand diff --git a/kiwi_scp/subcommands/show.py b/kiwi_scp/subcommands/show.py index d8e7a34..cfb867a 100644 --- a/kiwi_scp/subcommands/show.py +++ b/kiwi_scp/subcommands/show.py @@ -1,6 +1,7 @@ # system import logging import os + import yaml from ..project import Project