diff --git a/src/feditest/cli/commands/version.py b/src/feditest/cli/commands/version.py index 9310b30..d547a07 100644 --- a/src/feditest/cli/commands/version.py +++ b/src/feditest/cli/commands/version.py @@ -4,8 +4,6 @@ from argparse import ArgumentParser, Namespace, _SubParsersAction -import feditest -import feditest.cli from feditest.utils import FEDITEST_VERSION def run(parser: ArgumentParser, args: Namespace, remaining: list[str]) -> int: @@ -26,4 +24,4 @@ def add_sub_parser(parent_parser: _SubParsersAction, cmd_name: str) -> None: parent_parser: the parent argparse parser cmd_name: name of this command """ - parser = parent_parser.add_parser( cmd_name, help='Show feditest version') + parent_parser.add_parser( cmd_name, help='Show feditest version')