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