Skip to content

Commit 7594244

Browse files
style: apply ruff format to tests/test_sync_coverage.py
1 parent 665360c commit 7594244

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

tests/test_sync_coverage.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@
1111
from __future__ import annotations
1212

1313
from envault.audit import AuditLogger
14-
from envault.sync import SyncConflict, SyncResult, sync_env_files, sync_envs, write_env_file
14+
from envault.sync import (
15+
SyncConflict,
16+
SyncResult,
17+
sync_env_files,
18+
sync_envs,
19+
write_env_file,
20+
)
1521

1622
# ── SyncResult.__str__ ──────────────────────────────────────────────────────
1723

@@ -130,7 +136,9 @@ def test_sync_envs_skip_keys_on_add_and_delete():
130136
"""skip_keys works simultaneously for add and delete branches."""
131137
source = {"A": "1"}
132138
target = {"A": "1", "SKIP_DEL": "x"}
133-
result = sync_envs(source, target, allow_delete=True, skip_keys={"SKIP_ADD", "SKIP_DEL"})
139+
result = sync_envs(
140+
source, target, allow_delete=True, skip_keys={"SKIP_ADD", "SKIP_DEL"}
141+
)
134142
# SKIP_DEL is in target but not source — should be skipped, not deleted
135143
assert "SKIP_DEL" in result.skipped
136144
assert "SKIP_DEL" not in result.deleted

0 commit comments

Comments
 (0)