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:
dependabot[bot] 2021-05-08 12:39:00 -07:00 committed by GitHub
parent f99387b3e5
commit b38d765759
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 44 additions and 42 deletions

View file

@ -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

View file

@ -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

View file

@ -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