mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-12 09:28:31 +02:00
run linters
This commit is contained in:
parent
ea1b0353e6
commit
a4c97f36c2
1 changed files with 3 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue