ruff lint fixes
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
import asyncio
|
||||
|
||||
async def action_newest(app) -> None:
|
||||
"""Show the previous email message by finding the next lower ID from the list of envelope IDs."""
|
||||
|
||||
@@ -1,15 +1,3 @@
|
||||
import logging
|
||||
from typing import Iterable
|
||||
from textual import on
|
||||
from textual.app import App, ComposeResult, SystemCommand
|
||||
from textual.logging import TextualHandler
|
||||
from textual.screen import Screen
|
||||
from textual.widgets import Header, Footer, Static, Label, Input, Button
|
||||
from textual.reactive import Reactive
|
||||
from textual.binding import Binding
|
||||
from textual.timer import Timer
|
||||
from textual.containers import ScrollableContainer, Horizontal, Vertical, Grid
|
||||
import asyncio
|
||||
|
||||
async def action_next(app) -> None:
|
||||
"""Show the next email message by finding the next higher ID from the list of envelope IDs."""
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
import asyncio
|
||||
|
||||
def action_oldest(app) -> None:
|
||||
"""Show the previous email message by finding the next lower ID from the list of envelope IDs."""
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
import subprocess
|
||||
|
||||
def action_previous(app) -> None:
|
||||
"""Show the previous email message by finding the next lower ID from the list of envelope IDs."""
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import logging
|
||||
import subprocess
|
||||
from textual.logging import TextualHandler
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import asyncio
|
||||
import subprocess
|
||||
|
||||
from textual import work
|
||||
from maildir_gtd.screens.CreateTask import CreateTaskScreen
|
||||
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ from textual.widgets import Footer, Static, Label, Markdown, ListView, ListItem
|
||||
from textual.reactive import reactive, Reactive
|
||||
from textual.binding import Binding
|
||||
from textual.timer import Timer
|
||||
from textual.containers import ScrollableContainer, Grid, Vertical, Horizontal
|
||||
from textual.containers import ScrollableContainer, Vertical, Horizontal
|
||||
|
||||
from actions.archive import archive_current
|
||||
from actions.delete import delete_current
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from textual.reactive import Reactive
|
||||
from textual.app import RenderResult, ComposeResult
|
||||
from textual.widgets import Static, Label
|
||||
from textual.containers import Vertical, Horizontal, Container, ScrollableContainer
|
||||
from textual.app import ComposeResult
|
||||
from textual.widgets import Label
|
||||
from textual.containers import Horizontal, ScrollableContainer
|
||||
|
||||
class EnvelopeHeader(ScrollableContainer):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user