chore: Fix black fmt
Some checks failed
ci/woodpecker/push/test unknown status
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/static_analysis Pipeline was successful

This commit is contained in:
Marty Oehme 2023-10-17 22:03:35 +02:00
parent aeb18ae358
commit 5cd5a05062
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
3 changed files with 11 additions and 8 deletions

View file

@ -8,10 +8,7 @@ import papis.strings
from papis.document import Document
from papis_extract import extractor, exporter
from papis_extract.formatter import (
Formatter,
formatters
)
from papis_extract.formatter import Formatter, formatters
logger = papis.logging.get_logger(__name__)
@ -104,7 +101,11 @@ def run(
annotated_docs = extractor.start(documents)
if write:
exporter.to_notes(
formatter=formatter, annotated_docs=annotated_docs, edit=edit, git=git, force=force
formatter=formatter,
annotated_docs=annotated_docs,
edit=edit,
git=git,
force=force,
)
else:
exporter.to_stdout(formatter=formatter, annotated_docs=annotated_docs)