From a653b557b4054c49654e835b9318a302e3693528 Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Tue, 5 Dec 2023 09:25:02 +0100 Subject: [PATCH] Fix formatting --- toot/cli/post.py | 1 - toot/cli/read.py | 2 +- toot/cli/tui.py | 3 ++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/toot/cli/post.py b/toot/cli/post.py index 82fb7510..31dc733e 100644 --- a/toot/cli/post.py +++ b/toot/cli/post.py @@ -204,7 +204,6 @@ def upload( click.echo(f"Preview URL: {media.preview_url}") - def _get_status_text(text, editor, media): isatty = sys.stdin.isatty() diff --git a/toot/cli/read.py b/toot/cli/read.py index c68eaea3..f1bd7d55 100644 --- a/toot/cli/read.py +++ b/toot/cli/read.py @@ -7,7 +7,7 @@ from toot import api from toot.entities import Instance, Status, from_dict, Account from toot.exceptions import ApiError, ConsoleError -from toot.output import print_account, print_instance, print_search_results, print_status, print_tag_list, print_timeline +from toot.output import print_account, print_instance, print_search_results, print_status, print_timeline from toot.cli.base import cli, json_option, pass_context, Context diff --git a/toot/cli/tui.py b/toot/cli/tui.py index bfc37d59..423b12cd 100644 --- a/toot/cli/tui.py +++ b/toot/cli/tui.py @@ -1,8 +1,9 @@ -from typing import NamedTuple import click + from toot.cli.base import Context, cli, pass_context from toot.tui.app import TUI, TuiOptions + @cli.command() @click.option( "--relative-datetimes",