chore: Black formatting
This commit is contained in:
parent
c2aec7add6
commit
19599a66d7
6 changed files with 12 additions and 10 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue