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:
MinchinWeb 2019-12-07 12:32:55 -07:00
parent 46c4c88231
commit 04f6154c93
5 changed files with 19 additions and 14 deletions

View file

@ -108,9 +108,7 @@ class Entry:
return title
else:
return "{title}{sep}{body}\n".format(
title=title,
sep="\n" if has_body else "",
body=body if has_body else "",
title=title, sep="\n" if has_body else "", body=body if has_body else ""
)
def __repr__(self):