chore: Black formatting

This commit is contained in:
Marty Oehme 2024-06-12 11:46:39 +02:00
parent c2aec7add6
commit 19599a66d7
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
6 changed files with 12 additions and 10 deletions

View file

@ -3,6 +3,7 @@ from papis.document import Document
from papis_extract.annotation import Annotation
class Formatter(Protocol):
"""Basic formatter protocol.
@ -16,8 +17,10 @@ class Formatter(Protocol):
exporter is used, if multiple entries are printed.
This can be useful for adding a header if necessary for the format.
"""
def __call__(self, document: Document, annotations: list[Annotation], first: bool) -> str:
...
def __call__(
self, document: Document, annotations: list[Annotation], first: bool
) -> str: ...
def format_markdown(