mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-03 07: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
|
@ -138,9 +138,8 @@ def install():
|
|||
os.path.expandvars(journal_path)
|
||||
)
|
||||
|
||||
path = os.path.split(default_config["journals"][DEFAULT_JOURNAL_KEY])[
|
||||
0
|
||||
] # If the folder doesn't exist, create it
|
||||
# If the folder doesn't exist, create it
|
||||
path = os.path.split(default_config["journals"][DEFAULT_JOURNAL_KEY])[0]
|
||||
try:
|
||||
os.makedirs(path)
|
||||
except OSError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue