Run make format with latest version of black

This commit is contained in:
Micah Jerome Ellison 2021-05-08 12:30:47 -07:00
parent 3a6181984d
commit d69b50dddb
3 changed files with 3 additions and 3 deletions

View file

@ -87,7 +87,7 @@ def postconfig_encrypt(args, config, original_config, **kwargs):
def postconfig_decrypt(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 PlainJournal
from .Journal import open_journal from .Journal import open_journal
from .config import update_config from .config import update_config

View file

@ -14,7 +14,7 @@ class UpgradeValidationException(Exception):
class JrnlError(Exception): class JrnlError(Exception):
"""Common exceptions raised by jrnl. """ """Common exceptions raised by jrnl."""
def __init__(self, error_type, **kwargs): def __init__(self, error_type, **kwargs):
self.error_type = error_type self.error_type = error_type

View file

@ -214,7 +214,7 @@ def _get_editor_template(config, **kwargs):
def _search_journal(args, journal, **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: if args.on_date:
args.start_date = args.end_date = args.on_date args.start_date = args.end_date = args.on_date