mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-13 10:16:12 +02:00
Apply black formatter to code
[Travis] add a linting stage (via `black`) [Travis] update as per code review Remove "Lint" as separate stage; have `black` check the output rather than run the re-formmater
This commit is contained in:
parent
46c4c88231
commit
04f6154c93
5 changed files with 19 additions and 14 deletions
|
@ -26,7 +26,7 @@ def upgrade_jrnl_if_necessary(config_path):
|
|||
config = util.load_config(config_path)
|
||||
|
||||
print(
|
||||
"""Welcome to jrnl {}.
|
||||
f"""Welcome to jrnl {__version__}.
|
||||
|
||||
It looks like you've been using an older version of jrnl until now. That's
|
||||
okay - jrnl will now upgrade your configuration and journal files. Afterwards
|
||||
|
@ -40,10 +40,9 @@ you can enjoy all of the great new features that come with jrnl 2:
|
|||
Please note that jrnl 1.x is NOT forward compatible with this version of jrnl.
|
||||
If you choose to proceed, you will not be able to use your journals with
|
||||
older versions of jrnl anymore.
|
||||
""".format(
|
||||
__version__
|
||||
)
|
||||
"""
|
||||
)
|
||||
|
||||
encrypted_journals = {}
|
||||
plain_journals = {}
|
||||
other_journals = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue