run linters

This commit is contained in:
Jonathan Wren 2022-11-05 16:19:45 -07:00
parent ea1b0353e6
commit a4c97f36c2
No known key found for this signature in database

View file

@ -105,7 +105,9 @@ class FancyExporter(TextExporter):
return "\n".join(cls.export_entry(entry) for entry in journal)
def check_provided_linewrap_viability(linewrap: int, card: list[str], journal: "Journal"):
def check_provided_linewrap_viability(
linewrap: int, card: list[str], journal: "Journal"
):
if len(card[0]) > linewrap:
width_violation = len(card[0]) - linewrap
raise JrnlException(