From 26c6172d77335b757aac4b5e2a1ab820d80e7d55 Mon Sep 17 00:00:00 2001 From: Johannes Ernst Date: Tue, 16 Jul 2024 15:45:22 -0700 Subject: [PATCH] Minor lint improvement --- src/feditest/cli/commands/version.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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')