style fixes

This commit is contained in:
MinchinWeb 2021-05-08 11:50:03 -06:00
parent 90b7478516
commit b9c9ce4606
3 changed files with 9 additions and 6 deletions

View file

@ -7,7 +7,7 @@ from jrnl.jrnl import _display_search_results
# fmt: off
# see: https://github.com/psf/black/issues/664
@pytest.mark.parametrize("export_format", [ "pretty", "short","markdown"])
@pytest.mark.parametrize("export_format", [ "pretty", "short", "markdown"])
#fmt: on
@mock.patch.object(argparse, "Namespace", return_value={"export": "markdown", "filename": "irrele.vant"})
def test_export_format(mock_args, export_format):

View file

@ -1,10 +1,13 @@
import pytest
from jrnl.plugins.exporter import testing_exporter, json_exporter
from jrnl import Entry, Journal
from datetime import date
import json
import pytest
from jrnl import Entry
from jrnl import Journal
from jrnl.plugins.exporter import json as json_exporter
from jrnl.plugins.exporter import testing as testing_exporter
@pytest.fixture()
def create_entry():