mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 22:16:13 +02:00
Bump black from 20.8b1 to 21.5b0 (#1241)
* Bump black from 20.8b1 to 21.5b0 Bumps [black](https://github.com/psf/black) from 20.8b1 to 21.5b0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/master/CHANGES.md) - [Commits](https://github.com/psf/black/commits) Signed-off-by: dependabot[bot] <support@github.com> * Run make format with latest version of black Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
This commit is contained in:
parent
f99387b3e5
commit
b38d765759
5 changed files with 44 additions and 42 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue