mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-12 01:18:31 +02:00
run format
This commit is contained in:
parent
64c0824a87
commit
24b962b130
2 changed files with 4 additions and 2 deletions
|
@ -277,7 +277,6 @@ def _write_in_editor(config: dict, prepopulated_text: str | None = None) -> str:
|
||||||
return raw
|
return raw
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def _filter_journal_entries(args: "Namespace", journal: "Journal", **kwargs) -> None:
|
def _filter_journal_entries(args: "Namespace", journal: "Journal", **kwargs) -> None:
|
||||||
"""Filter journal entries in-place based upon search args"""
|
"""Filter journal entries in-place based upon search args"""
|
||||||
if args.on_date:
|
if args.on_date:
|
||||||
|
|
|
@ -125,7 +125,10 @@ def we_use_the_config(request, temp_dir, working_dir, config_file):
|
||||||
return config_dest
|
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):
|
def we_copy_the_template(request, temp_dir, working_dir, template_file):
|
||||||
# Move into temp dir as cwd
|
# Move into temp dir as cwd
|
||||||
os.chdir(temp_dir.name) # @todo move this step to a more universal place
|
os.chdir(temp_dir.name) # @todo move this step to a more universal place
|
||||||
|
|
Loading…
Add table
Reference in a new issue