Skip to content

Commit 8173a15

Browse files
style: autoformat with pre-commit
1 parent 4368f8d commit 8173a15

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/test_migrations.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,7 @@ def test_migration_run_after(
381381
_migrations:
382382
- command: mv foo bar
383383
{}
384-
""".format(
385-
"when: \"{{ _stage == 'after' }}\"" if explicit else ""
386-
)
384+
""".format("when: \"{{ _stage == 'after' }}\"" if explicit else "")
387385
),
388386
}
389387
)

tests/test_templated_prompt.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,9 +572,7 @@ def test_phase_variable(
572572
src, dst = map(tmp_path_factory.mktemp, ("src", "dst"))
573573
build_file_tree(
574574
{
575-
(
576-
src / "copier.yml"
577-
): """\
575+
(src / "copier.yml"): """\
578576
phase:
579577
type: str
580578
default: "{{ _phase }}"

0 commit comments

Comments
 (0)