run format

This commit is contained in:
Jonathan Wren 2023-03-25 12:09:57 -07:00
parent 64c0824a87
commit 24b962b130
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -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:

View file

@ -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