From 0634cbb381f624f690ea08a3339a37a98d72a95c Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 13 Jan 2023 19:06:20 +0100 Subject: [PATCH] Format plugin file with black --- pubs/plugs/extract/extract.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pubs/plugs/extract/extract.py b/pubs/plugs/extract/extract.py index d0496f4..c513813 100644 --- a/pubs/plugs/extract/extract.py +++ b/pubs/plugs/extract/extract.py @@ -250,9 +250,7 @@ class ExtractPlugin(PapersPlugin): """ output = "" for paper in annotated_papers: - output += ( - f"\n------ {paper.headline(self.short_header, self.max_authors)} ------\n\n" - ) + output += f"\n------ {paper.headline(self.short_header, self.max_authors)} ------\n\n" for annotation in paper.annotations: output += f"{annotation.format(self.formatting)}\n" output += "\n" @@ -271,7 +269,11 @@ class ExtractPlugin(PapersPlugin): if check_file(notepath, fail=False): self._append_to_note(notepath, paper) else: - self._write_new_note(notepath, paper, paper.headline(short=True, max_authors=self.max_authors)) + self._write_new_note( + notepath, + paper, + paper.headline(short=True, max_authors=self.max_authors), + ) self.ui.info(f"Wrote annotations to {paper.citekey} note {notepath}.") if edit is True: