Format code

This commit is contained in:
2022-08-02 14:59:59 +02:00
parent a2642b98d9
commit 5a577ac3fb
3 changed files with 44 additions and 43 deletions

View File

@ -1,10 +1,10 @@
import os
import sys
import time
from contextlib import closing
from pathlib import Path
from shutil import copyfile
import sys
import time
import typer
from dhooks import Webhook
from reader import FeedExistsError, make_reader
@ -24,8 +24,8 @@ db_file: Path = Path(os.path.join(app_dir, db_name))
@app.command()
def add(
feed_url: str = typer.Argument(..., help="RSS or Atom feed URL."),
notify_discord: bool = typer.Option(True, help="Send message to Discord."),
feed_url: str = typer.Argument(..., help="RSS or Atom feed URL."),
notify_discord: bool = typer.Option(True, help="Send message to Discord."),
) -> None:
"""Add a feed to the database