From d69b50dddbe45d813933b70cb961854c2dff2216 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 8 May 2021 12:30:47 -0700 Subject: [PATCH] Run make format with latest version of black --- jrnl/commands.py | 2 +- jrnl/exception.py | 2 +- jrnl/jrnl.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jrnl/commands.py b/jrnl/commands.py index 8473954e..07ca0767 100644 --- a/jrnl/commands.py +++ b/jrnl/commands.py @@ -87,7 +87,7 @@ def postconfig_encrypt(args, config, original_config, **kwargs): def postconfig_decrypt(args, config, original_config, **kwargs): - """ Decrypts into new file. If filename is not set, we encrypt the journal file itself. """ + """Decrypts into new file. If filename is not set, we encrypt the journal file itself.""" from .Journal import PlainJournal from .Journal import open_journal from .config import update_config diff --git a/jrnl/exception.py b/jrnl/exception.py index ac7cd0b2..cb6672d7 100644 --- a/jrnl/exception.py +++ b/jrnl/exception.py @@ -14,7 +14,7 @@ class UpgradeValidationException(Exception): class JrnlError(Exception): - """Common exceptions raised by jrnl. """ + """Common exceptions raised by jrnl.""" def __init__(self, error_type, **kwargs): self.error_type = error_type diff --git a/jrnl/jrnl.py b/jrnl/jrnl.py index cf2b3bbb..2d06115d 100644 --- a/jrnl/jrnl.py +++ b/jrnl/jrnl.py @@ -214,7 +214,7 @@ def _get_editor_template(config, **kwargs): def _search_journal(args, journal, **kwargs): - """ Search the journal with the given args""" + """Search the journal with the given args""" if args.on_date: args.start_date = args.end_date = args.on_date