From 24b962b130fcc7ed4fe01011118d2645e9ec2bff Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Sat, 25 Mar 2023 12:09:57 -0700 Subject: [PATCH] run format --- jrnl/controller.py | 1 - tests/lib/given_steps.py | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/jrnl/controller.py b/jrnl/controller.py index db4709a8..07fdeab6 100644 --- a/jrnl/controller.py +++ b/jrnl/controller.py @@ -277,7 +277,6 @@ def _write_in_editor(config: dict, prepopulated_text: str | None = None) -> str: return raw - def _filter_journal_entries(args: "Namespace", journal: "Journal", **kwargs) -> None: """Filter journal entries in-place based upon search args""" if args.on_date: diff --git a/tests/lib/given_steps.py b/tests/lib/given_steps.py index b76f1662..9c652029 100644 --- a/tests/lib/given_steps.py +++ b/tests/lib/given_steps.py @@ -125,7 +125,10 @@ def we_use_the_config(request, temp_dir, working_dir, config_file): return config_dest -@given(parse('we copy the template "{template_file}" to the default templates folder'), target_fixture="default_templates_path") +@given( + parse('we copy the template "{template_file}" to the default templates folder'), + target_fixture="default_templates_path", +) def we_copy_the_template(request, temp_dir, working_dir, template_file): # Move into temp dir as cwd os.chdir(temp_dir.name) # @todo move this step to a more universal place